From 51f6a94ccda59986ed44ac4ae0ec78afefc37d59 Mon Sep 17 00:00:00 2001 From: toby Date: Mon, 3 Dec 2018 22:22:54 +0100 Subject: [PATCH] increasing error checking on ipsec generation --- debian/wit-network-config.postinst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 0e01de7..c138e8d 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -322,6 +322,9 @@ case "$1" in let i+=1 done + [ -z $IPSEC_IPV4_SUBNETS ] && exit 2 + [ -z $IPSEC_IPV6_SUBNETS ] && exit 2 + ## STOP compiling frr config