summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-05-15 12:14:49 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2009-05-15 12:14:49 -0700
commit60d9a1978f9f4d3ec0033b8cb3cbe59b69017907 (patch)
tree62778373d91b69b30a79c2cdac2d7d5a0be8c23e
parent5c16bb2b00815343437fe4533b73b999d5f18976 (diff)
downloadvyatta-cfg-quagga-60d9a1978f9f4d3ec0033b8cb3cbe59b69017907.tar.gz
vyatta-cfg-quagga-60d9a1978f9f4d3ec0033b8cb3cbe59b69017907.zip
Don't advertise loopback interface as an allowed value for zone interfaces
We do not have firewall under 'interface loopback' either
-rw-r--r--templates/zone-policy/zone/node.tag/interface/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/zone-policy/zone/node.tag/interface/node.def b/templates/zone-policy/zone/node.tag/interface/node.def
index ca482eca..824d3cda 100644
--- a/templates/zone-policy/zone/node.tag/interface/node.def
+++ b/templates/zone-policy/zone/node.tag/interface/node.def
@@ -1,7 +1,7 @@
multi:
type: txt
help: Set interface associated with zone
-allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=all
+allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=all | sed -e s/'lo '//
create: /opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --warn