Remove duplicate dump of the interface, and only dump the list of known
networks once at the very end.
for entry in $ifmap; do
iface=${entry%=*} q=${entry##*=}
eval nets=\$ifnets_$q
- trace "iface $iface [$q] = $nets"
aa=!
for n in $nets; do
eval "addrs=\"\$net_inet_$n \$net_inet6_$n\""
done
eval ifaddrs_$q=\$aa
trace "iface $q = $iface; nets = $nets; addrs = $aa"
-trace "alladdrs = $alladdrs"
done
+trace "alladdrs = $alladdrs"
## Populate the `out-classify' chain, matching networks.
prepare_to () { mode=goto fail=mark-to-$net_class_default; }