diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/protocols/bgp/node.def | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def index 01f75f02..39bb583e 100644 --- a/templates/protocols/bgp/node.def +++ b/templates/protocols/bgp/node.def @@ -7,8 +7,6 @@ val_help: u32:1-4294967294; AS number syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \ "AS number must be between 1 and 4294967294" -end: - -if [ "$COMMIT_SIBLING_POSITION" != "LAST" ] ; then - /opt/vyatta/sbin/vyatta-bgp.pl --main -fi; +end: if [ -z "$VAR(.)" ] || [ "$COMMIT_ACTION" != DELETE ]; then + /opt/vyatta/sbin/vyatta-bgp.pl --main + fi |