From 78061632b725f9ef5b2096fe0943162d78355ac5 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 11 Dec 2012 09:33:49 +0000 Subject: [PATCH] classify.m4: Classify individual host routes correctly. For some reason, were just using whatever value of `$class' was left lying around. Not very clever, really. --- classify.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classify.m4 b/classify.m4 index f15c601..79401f6 100644 --- a/classify.m4 +++ b/classify.m4 @@ -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" -- 2.11.0