diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-06-04 23:48:08 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-06-04 23:48:08 -0700 |
commit | 0ddd5875f14bfec7025610e7d14c68fc0bbe36f2 (patch) | |
tree | c18f157deae65647c559402e190e66e620f1e3bd | |
parent | 7ebab9a5320d62f8af00390961ba6f33b7982977 (diff) | |
download | vyatta-op-firewall-0ddd5875f14bfec7025610e7d14c68fc0bbe36f2.tar.gz vyatta-op-firewall-0ddd5875f14bfec7025610e7d14c68fc0bbe36f2.zip |
fix for bug 3156: only show configured names as completions.
-rw-r--r-- | templates/clear/firewall/name/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/clear/firewall/name/node.tag/node.def b/templates/clear/firewall/name/node.tag/node.def index e4d5631..1411a83 100644 --- a/templates/clear/firewall/name/node.tag/node.def +++ b/templates/clear/firewall/name/node.tag/node.def @@ -1,2 +1,2 @@ help: Clear firewall rules for a given chain -allowed: /sbin/iptables --list -n | /bin/grep ^Chain | /usr/bin/awk '{ print $2 }' +allowed: ls /opt/vyatta/config/active/firewall/name/ 2>/dev/null |