classify.m4: Classify individual host routes correctly.
[firewall] / classify.m4
index f15c601..79401f6 100644 (file)
@@ -296,7 +296,7 @@ for entry in $ifmap; do
       ## interfaces.  We should match an address to a particular interface.
       chains=""
       for net in $nets; do
-       eval hosts=\$net_hosts_$net
+       eval hosts=\$net_hosts_$net class=\$net_class_$net
        for host in $hosts; do
          eval ha=\$host_inet_$host ha6=\$host_inet6_$host
          trace "$host : $class -> $iface"