diff options
Diffstat (limited to 'templates/protocols/static/route')
-rw-r--r-- | templates/protocols/static/route/node.tag/blackhole/distance/node.def (renamed from templates/protocols/static/route/node.tag/blackhole/metric/node.def) | 0 | ||||
-rw-r--r-- | templates/protocols/static/route/node.tag/blackhole/node.def | 6 | ||||
-rw-r--r-- | templates/protocols/static/route/node.tag/next-hop/node.def | 6 | ||||
-rw-r--r-- | templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def (renamed from templates/protocols/static/route/node.tag/next-hop/node.tag/metric/node.def) | 0 |
4 files changed, 6 insertions, 6 deletions
diff --git a/templates/protocols/static/route/node.tag/blackhole/metric/node.def b/templates/protocols/static/route/node.tag/blackhole/distance/node.def index 938aea1a..938aea1a 100644 --- a/templates/protocols/static/route/node.tag/blackhole/metric/node.def +++ b/templates/protocols/static/route/node.tag/blackhole/distance/node.def diff --git a/templates/protocols/static/route/node.tag/blackhole/node.def b/templates/protocols/static/route/node.tag/blackhole/node.def index aa54eceb..c1a8cc2c 100644 --- a/templates/protocols/static/route/node.tag/blackhole/node.def +++ b/templates/protocols/static/route/node.tag/blackhole/node.def @@ -4,8 +4,8 @@ end: "if [ -f \"/tmp/static.\\$PPID\" ]; then \ /usr/bin/vtysh -c \"configure terminal\" -c \"no ip route $(../@) null0\" ; \ rm /tmp/static.\\$PPID; \ else \ - if [ -n \"$(./metric/@)\" ]; then \ - MET=\"$(./metric/@)\"; \ + if [ -n \"$(./distance/@)\" ]; then \ + DIST=\"$(./distance/@)\"; \ fi; \ - /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) null0 \\$MET \" ; \ + /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) null0 \\$DIST \" ; \ fi; " diff --git a/templates/protocols/static/route/node.tag/next-hop/node.def b/templates/protocols/static/route/node.tag/next-hop/node.def index 46625591..6d9288cf 100644 --- a/templates/protocols/static/route/node.tag/next-hop/node.def +++ b/templates/protocols/static/route/node.tag/next-hop/node.def @@ -6,8 +6,8 @@ end: "if [ -f \"/tmp/static.\\$PPID\" ]; then \ /usr/bin/vtysh -c \"configure terminal\" -c \"no ip route $(../@) $(@)\" ; \ rm /tmp/static.\\$PPID; \ else \ - if [ -n \"$(./metric/@)\" ]; then \ - MET=\"$(./metric/@)\"; \ + if [ -n \"$(./distance/@)\" ]; then \ + DIST=\"$(./distance/@)\"; \ fi; \ - /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) $(@) \\$MET \" ; \ + /usr/bin/vtysh -c \"configure terminal\" -c \"ip route $(../@) $(@) \\$DIST \" ; \ fi; " diff --git a/templates/protocols/static/route/node.tag/next-hop/node.tag/metric/node.def b/templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def index 938aea1a..938aea1a 100644 --- a/templates/protocols/static/route/node.tag/next-hop/node.tag/metric/node.def +++ b/templates/protocols/static/route/node.tag/next-hop/node.tag/distance/node.def |