diff options
-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 |