diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-06-04 18:25:40 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-06-04 18:25:40 -0700 |
commit | 5a37027f6b3e98f8f45812d5aee9136dcc3cde4e (patch) | |
tree | e4649d6354d09c004b85f35716205c861034450e /templates | |
parent | bcfde2acbe465bc98822dfc8852ac4126c7fb064 (diff) | |
download | vyatta-op-firewall-5a37027f6b3e98f8f45812d5aee9136dcc3cde4e.tar.gz vyatta-op-firewall-5a37027f6b3e98f8f45812d5aee9136dcc3cde4e.zip |
fix for bug 3301: only show configured names as completions.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show/firewall/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/firewall/node.tag/node.def b/templates/show/firewall/node.tag/node.def index aef2d21..fd72e01 100644 --- a/templates/show/firewall/node.tag/node.def +++ b/templates/show/firewall/node.tag/node.def @@ -1,4 +1,4 @@ help: Show firewall rules for given chain -allowed: sudo /sbin/iptables --list -n | /bin/grep ^Chain | /usr/bin/awk '{ print $2 }' +allowed: ls /opt/vyatta/config/active/firewall/name/ 2>/dev/null run: ${vyatta_bindir}/vyatta-show-firewall.pl "$3" /opt/vyatta/share/xsl/show_firewall.xsl |