forked from extern/shorewall_code
Allow upper case A-F in Hex numbers
This commit is contained in:
parent
df42a82b01
commit
2125f3140f
@ -756,7 +756,7 @@ sub numeric_value1 ( $ ) {
|
||||
|
||||
sub hex_value( $ ) {
|
||||
my $val = lc $_[0];
|
||||
return undef unless $val =~ /^[a-f0-9]+$/;
|
||||
return undef unless $val =~ /^[a-fA-F0-9]+$/;
|
||||
no warnings;
|
||||
oct '0x' . $val;
|
||||
use warnings;
|
||||
|
Loading…
Reference in New Issue
Block a user