chiark
/
gitweb
/
~mdw
/
firewall
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
78aaac0
)
classify.m4: Classify individual host routes correctly.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 11 Dec 2012 09:33:49 +0000
(09:33 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 11 Dec 2012 09:46:57 +0000
(09:46 +0000)
For some reason, were just using whatever value of `$class' was left
lying around. Not very clever, really.
classify.m4
patch
|
blob
|
blame
|
history
diff --git
a/classify.m4
b/classify.m4
index f15c601e37fa4263c0dcd94d35bd5c96e847c7b3..79401f629ef3f9c2350e52d6bf37d536be26b78d 100644
(file)
--- 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"