mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-24 11:41:26 +02:00
More do_test() tweaks
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7988 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7272f04a2c
commit
2fa119b30a
@ -511,6 +511,9 @@ sub numeric_value ( $ ) {
|
|||||||
$mark =~ /^0/ ? oct $mark : $mark;
|
$mark =~ /^0/ ? oct $mark : $mark;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Return the argument expressed in Hex
|
||||||
|
#
|
||||||
sub in_hex( $ ) {
|
sub in_hex( $ ) {
|
||||||
sprintf '0x%x', $_[0];
|
sprintf '0x%x', $_[0];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user