diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-12-06 16:55:22 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-12-06 16:55:22 -0800 |
commit | 4468c4cca32f0cc968bb04b43cd0890bee37867a (patch) | |
tree | a28399ca380eff4ac78b2420183fd91940506ee4 /gen-interface-templates.pl | |
parent | 097898aae93091ff802f17572b2e2bf1520d0d26 (diff) | |
download | vyatta-cfg-firewall-4468c4cca32f0cc968bb04b43cd0890bee37867a.tar.gz vyatta-cfg-firewall-4468c4cca32f0cc968bb04b43cd0890bee37867a.zip |
Fix help text for firewall interface rules
Bug 6111
Don't use "Set inbound" instead use "Inbound"
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-x | gen-interface-templates.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index a27d834..3d9a5b0 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -178,9 +178,10 @@ sub gen_template { open my $tp, '>', "${template_dir}/${node_file}" or die "Can't open ${template_dir}/${node_file}:$!"; + my $action = ucfirst($direction_term_hash{$direction}); print $tp <<EOF; type: txt -help: Set $direction_term_hash{$direction} $table_help_hash{$table} ruleset name for interface +help: $action $table_help_hash{$table} ruleset name for interface allowed: local -a params eval "params=(\$(cli-shell-api listActiveNodes firewall $table))" echo -n "\${params[@]}" |