From b5710ce2fd61f358101af1fa3b1c9fe20aeab5cf Mon Sep 17 00:00:00 2001 From: toby Date: Thu, 6 Dec 2018 23:19:52 +0100 Subject: [PATCH] fixing bug if no GRE tunnel is defined --- debian/wit-network-config.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 8f08802..e14bd84 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -348,7 +348,7 @@ case "$1" in -e "s/^!!! FRR_IPV4_LOOPBACK_PFLIST/$FRR_IPV4_LOOPBACK_PFLIST/" \ -e "s/^!!! FRR_IPV6_LOOPBACK_PFLIST/$FRR_IPV6_LOOPBACK_PFLIST/" \ -e "s/BASTION-PUBLIC-IP/$BASTIONPUBLICIP/" \ - -e "s/FRR_GRE_ASN/${FRR_GRE_ASN}/" \ + -e "s/FRR_GRE_ASN/${FRR_GRE_ASN:=$NODEASN}/" \ -e "s/FRRROUTERID/${LOOPBACKv4}/" \ -e "s/NODEASN/${NODEASN}/" \ $FRRCONFIG