aboutsummaryrefslogtreecommitdiff
path: root/init.d/net.lo.in
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2012-12-21 14:24:27 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2012-12-21 14:24:27 -0600
commit2b0ff6f669d2a05f4b092d8135ee17626c64c494 (patch)
treea4e85dc9151195a922c1a15429959ff4d48e3b33 /init.d/net.lo.in
parenta61fdd019ee8715689ce07abeda25e6961a4754f (diff)
net.lo: add ipv6 net and host patterns
X-Gentoo-Bug: 442594 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=442594
Diffstat (limited to 'init.d/net.lo.in')
-rw-r--r--init.d/net.lo.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index db6550d2..32ca8107 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -672,6 +672,8 @@ ${routes}"
*.*.*.*/32*) cmd="-host ${cmd}";;
*.*.*.*/*|0.0.0.0|0.0.0.0" "*) cmd="-net ${cmd}";;
default|default" "*) cmd="-net ${cmd}";;
+ *:*/128*) cmd="-host ${cmd}";;
+ *:*/*) cmd="-net ${cmd}";;
*) cmd="-host ${cmd}";;
esac
if ${hidefirstroute}; then