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
This commit is contained in:
Alexander Tsoy 2012-12-21 14:24:27 -06:00 committed by William Hubbs
parent a61fdd019e
commit 2b0ff6f669

View File

@ -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