'all' protocol is no longer valid

This commit is contained in:
Jamie Cameron
2020-09-06 12:04:40 -07:00
parent ad18cb2f63
commit 1feca0c2fe
2 changed files with 1 additions and 3 deletions

View File

@@ -73,10 +73,9 @@ my $protocol = &find_value("protocol", $jail);
print &ui_table_row($text{'jail_defprotocol'},
&ui_select("protocol", $protocol,
[ [ '', "<$text{'jail_none'}>" ],
[ 'all', $text{'jail_allprotocol'} ],
[ 'tcp', 'TCP' ],
[ 'udp', 'UDP' ],
[ 'icmp', 'ICMP' ] ]));
[ 'icmp', 'ICMP' ] ], 0, 0, 1));
print &ui_table_end();
print &ui_form_end([ [ undef, $text{'save'} ] ]);

View File

@@ -120,7 +120,6 @@ jail_destemail=Default notification email
jail_none=None set
jail_banaction=Default action to apply
jail_defprotocol=Default protocol for actions
jail_allprotocol=All protocols
jail_edestemail=Missing or invalid default notification email address
jail_eignoreip=Invalid IP address to ignore