summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgen-interface-policy-templates.pl2
-rwxr-xr-xgen-interface-templates.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/gen-interface-policy-templates.pl b/gen-interface-policy-templates.pl
index 8f9ee38..884dc67 100755
--- a/gen-interface-policy-templates.pl
+++ b/gen-interface-policy-templates.pl
@@ -158,7 +158,7 @@ sub gen_template {
type: txt
help: $table_help_hash{$table} ruleset for interface
allowed: local -a params
- eval "params=(\$(cli-shell-api listActiveNodes policy $table))"
+ eval "params=(\$(cli-shell-api listNodes policy $table))"
echo -n "\${params[@]}"
create: ifname=$if_name
sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-interfaces \\
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 8531eb9..7c037b6 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -241,7 +241,7 @@ sub gen_template {
type: txt
help: $action $table_help_hash{$table} ruleset name for interface
allowed: local -a params
- eval "params=(\$(cli-shell-api listActiveNodes firewall $table))"
+ eval "params=(\$(cli-shell-api listNodes firewall $table))"
echo -n "\${params[@]}"
create: ifname=$if_name
sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-interfaces \\