nixos-module/container/bird: add escaping
This commit is contained in:
parent
05641a7f74
commit
5a88fedebe
|
@ -208,7 +208,9 @@ in
|
||||||
${text}
|
${text}
|
||||||
|
|
||||||
# OSPFv2 to receive a default route from ${upstream}
|
# OSPFv2 to receive a default route from ${upstream}
|
||||||
protocol ospf v2 ZW4_${upstream} {
|
protocol ospf v2 ZW4_${
|
||||||
|
builtins.replaceStrings [ "-" ] [ "_" ] upstream
|
||||||
|
} {
|
||||||
ipv4 {
|
ipv4 {
|
||||||
import filter {
|
import filter {
|
||||||
preference = preference + ${toString (100 - n)};
|
preference = preference + ${toString (100 - n)};
|
||||||
|
@ -324,7 +326,9 @@ in
|
||||||
${text}
|
${text}
|
||||||
|
|
||||||
# OSPFv3 to receive a default route from ${upstream}
|
# OSPFv3 to receive a default route from ${upstream}
|
||||||
protocol ospf v3 ZW6_${upstream} {
|
protocol ospf v3 ZW6_${
|
||||||
|
builtins.replaceStrings [ "-" ] [ "_" ] upstream
|
||||||
|
} {
|
||||||
ipv6 {
|
ipv6 {
|
||||||
import filter {
|
import filter {
|
||||||
preference = preference + ${toString (100 - n)};
|
preference = preference + ${toString (100 - n)};
|
||||||
|
|
Loading…
Reference in New Issue