From cc2dc022efb72aa5afe00b71fa5dfca5cf7f43bc Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Thu, 7 Aug 2008 17:12:50 -0700 Subject: Fix 3550: Setting kernel redistribution metric generates internal error. --- templates/protocols/ospf/redistribute/kernel/node.def | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'templates/protocols/ospf/redistribute/kernel/node.def') 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; -- cgit v1.2.3