summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-08-07 17:12:50 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-08-07 17:12:50 -0700
commitcc2dc022efb72aa5afe00b71fa5dfca5cf7f43bc (patch)
tree6c56b5155829e05f7913193132c83f81f52bc90f /templates/protocols/ospf
parent8179a6ec937618630d97a2d80c79f5613adf1b12 (diff)
downloadvyatta-cfg-quagga-cc2dc022efb72aa5afe00b71fa5dfca5cf7f43bc.tar.gz
vyatta-cfg-quagga-cc2dc022efb72aa5afe00b71fa5dfca5cf7f43bc.zip
Fix 3550: Setting kernel redistribution metric generates internal error.
Diffstat (limited to 'templates/protocols/ospf')
-rw-r--r--templates/protocols/ospf/redistribute/kernel/node.def10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/protocols/ospf/redistribute/kernel/node.def b/templates/protocols/ospf/redistribute/kernel/node.def
index 20669be7..605e72a8 100644
--- a/templates/protocols/ospf/redistribute/kernel/node.def
+++ b/templates/protocols/ospf/redistribute/kernel/node.def
@@ -1,8 +1,8 @@
help: Set to redistribute kernel routes
delete:expression: "touch /tmp/ospf-redist-kernel.$PPID"
-end: vyatta-vtysh -c \"configure terminal\" \
- -c "router ospf" \
- -c "no redistribute kernel";
+end: vyatta-vtysh -c "configure terminal" \
+ -c "router ospf" \
+ -c "no redistribute kernel";
if [ -f "/tmp/ospf-redist-kernel.$PPID" ]; then
rm -f /tmp/ospf-redist-kernel.$PPID;
else
@@ -16,6 +16,6 @@ end: vyatta-vtysh -c \"configure terminal\" \
COND="$COND route-map $VAR(./route-map/@)";
fi;
vyatta-vtysh -c "configure terminal" \
- -c "router ospf" \
- -c "redistribute kernel $COND";
+ -c "router ospf" \
+ -c "redistribute kernel $COND";
fi;