Fix MAC handling in tcrules

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@677 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-07-23 14:50:16 +00:00
parent 00b43e6a2e
commit f8eb44095b
3 changed files with 7 additions and 1 deletions

View File

@ -54,3 +54,5 @@ Changes since 1.4.5
23. Move determine_capabilities call to do_initialize to ensure that 23. Move determine_capabilities call to do_initialize to ensure that
MANGLE_ENABLED is set before it is tested. MANGLE_ENABLED is set before it is tested.
24. Fixed MAC address handling in the SOURCE column of tcrules.

View File

@ -1581,7 +1581,7 @@ process_tc_rule()
r="-s $source " r="-s $source "
;; ;;
~*) ~*)
r=`mac_match $source` r="`mac_match $source` "
;; ;;
$FW) $FW)
chain=tcout chain=tcout

View File

@ -23,6 +23,10 @@ Problems Corrected:
6) Corrected problem in 1.4.6 where the MANGLE_ENABLED variable was 6) Corrected problem in 1.4.6 where the MANGLE_ENABLED variable was
being tested before it was set. being tested before it was set.
7) Corrected handling of MAC addresses in the SOURCE column of the
tcrules file. Previously, these addresses resulted in an invalid
iptables command.
Migration Issues: Migration Issues:
1) In earlier versions, an undocumented feature allowed entries in 1) In earlier versions, an undocumented feature allowed entries in