diff options
-rw-r--r-- | templates/protocols/ospf/passive-interface/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/protocols/ospf/passive-interface/node.def b/templates/protocols/ospf/passive-interface/node.def index f73f9166..ed5d17cb 100644 --- a/templates/protocols/ospf/passive-interface/node.def +++ b/templates/protocols/ospf/passive-interface/node.def @@ -28,7 +28,7 @@ delete: if [ -z $VAR(@) ] else if [ "$VAR(@)" == "default" ] then - if [ $VAR(../passive-interface-exclude/@) ] + if [ ! -z "$VAR(../passive-interface-exclude/@)" ] then echo "Error: delete passive-interface-exclude before deleting passive-interface default"; exit 1; |