summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2015-02-18 03:46:43 +0000
committerrpaulo <rpaulo@FreeBSD.org>2015-02-18 03:46:43 +0000
commitda9de450af5aa5a374c543d89f57cc4ba3edc7bb (patch)
treefa06a756c9af37cd76915f97c24a1bfcd8af57c5 /etc
parent56c732fb89237b36617c1495acbeed86716b7255 (diff)
downloadFreeBSD-src-da9de450af5aa5a374c543d89f57cc4ba3edc7bb.zip
FreeBSD-src-da9de450af5aa5a374c543d89f57cc4ba3edc7bb.tar.gz
Fix a typo in ipv6_down().
We weren't skipping extraneous entries in the ifconfig | grep inet6 case. Submitted by: Ashutosh Kumar AK0037447 at TechMahindra.com MFC after: 1 week
Diffstat (limited to 'etc')
-rw-r--r--etc/network.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr
index b8e0654..73ed575 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -754,7 +754,7 @@ ipv6_down()
IFS="$_ifs"
for _inet6 in $inetList ; do
# get rid of extraneous line
- case $_inet in
+ case $_inet6 in
inet6\ *) ;;
*) continue ;;
esac
OpenPOWER on IntegriCloud