From: Mark Wooding Date: Tue, 11 Dec 2012 09:43:34 +0000 (+0000) Subject: classify.m4: Dispatch on destination addresses to correct chains. X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/commitdiff_plain/e34a93c12d431953e694db44ef9df0bb79687726 classify.m4: Dispatch on destination addresses to correct chains. --- diff --git a/classify.m4 b/classify.m4 index 79401f6..5b6f209 100644 --- a/classify.m4 +++ b/classify.m4 @@ -250,7 +250,7 @@ trace "alladdrs = $alladdrs" ## Populate the `out-classify' chain, matching networks. prepare_to () { mode=goto fail=mark-to-$net_class_default; } -matchnets -d mark-from : prepare_to out-classify "" 0 $allnets +matchnets -d mark-to : prepare_to out-classify "" 0 $allnets ## A `finish' hook for rejecting known address ranges arriving on a ## default-reachable interface.