forked from extern/shorewall_code
More u32 tweaks
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8307 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
f7e5b3124b
commit
93d87dd01b
@ -537,7 +537,7 @@ sub in_hex2( $ ) {
|
||||
}
|
||||
|
||||
sub in_hex3( $ ) {
|
||||
sprintf '%03x', $_[0];
|
||||
sprintf '0x%03x', $_[0];
|
||||
}
|
||||
|
||||
sub in_hex4( $ ) {
|
||||
|
@ -565,7 +565,8 @@ sub process_tc_filter( $$$$$$ ) {
|
||||
#
|
||||
# And link to it using the current contents of $rule
|
||||
#
|
||||
emit( "run_tc $rule link $tnum:0 offset at 0 mask 0x0F00 shift 6 plus 0 eat" );
|
||||
emit( "run_tc $rule\\" ,
|
||||
" link $tnum:0 offset at 0 mask 0x0F00 shift 6 plus 0 eat" );
|
||||
#
|
||||
# The rule to match the port(s) will be inserted into the new table
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user