Correct icmp-type and icmpv6-type

This commit is contained in:
Tom Eastep 2011-09-19 10:05:58 -07:00
parent fd1e996fb1
commit 990d6e504d

View File

@ -462,6 +462,8 @@ my %opttype = ( rule => CONTROL,
p => UNIQUE,
dport => UNIQUE,
sport => UNIQUE,
'icmp-type' => UNIQUE,
'icmpv6-type' => UNIQUE,
comment => CONTROL,
@ -482,9 +484,11 @@ my %aliases = ( protocol => 'p',
'out-interface' => 'o',
dport => 'dport',
sport => 'sport',
'icmp-type' => 'icmp-type',
'icmpv6-type' => 'icmpv6-type',
);
my @unique_options = ( qw/p dport sport s d i o/ );
my @unique_options = ( qw/p dport sport icmp-type icmpv6-type s d i o/ );
#
# Rather than initializing globals in an INIT block or during declaration,