summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl6
-rw-r--r--templates/protocols/bgp/node.tag/parameters/disable-network-import-check/node.def1
-rw-r--r--templates/protocols/bgp/node.tag/parameters/network-import-check/node.def1
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 359eb972..7126716c 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -720,9 +720,9 @@ my %qcom = (
set => 'router bgp #3 ; bgp deterministic-med',
del => 'router bgp #3 ; no bgp deterministic-med',
},
- 'protocols bgp var parameters disable-network-import-check' => {
- set => 'router bgp #3 ; no bgp network import-check',
- del => 'router bgp #3 ; bgp network import-check',
+ 'protocols bgp var parameters network-import-check' => {
+ set => 'router bgp #3 ; bgp network import-check',
+ del => 'router bgp #3 ; no bgp network import-check',
},
'protocols bgp var parameters distance' => {
set => undef,
diff --git a/templates/protocols/bgp/node.tag/parameters/disable-network-import-check/node.def b/templates/protocols/bgp/node.tag/parameters/disable-network-import-check/node.def
deleted file mode 100644
index 30004e64..00000000
--- a/templates/protocols/bgp/node.tag/parameters/disable-network-import-check/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Disable IGP route check for network statements
diff --git a/templates/protocols/bgp/node.tag/parameters/network-import-check/node.def b/templates/protocols/bgp/node.tag/parameters/network-import-check/node.def
new file mode 100644
index 00000000..29e5e916
--- /dev/null
+++ b/templates/protocols/bgp/node.tag/parameters/network-import-check/node.def
@@ -0,0 +1 @@
+help: Enable IGP route check for network statements