aboutsummaryrefslogtreecommitdiff
path: root/net/ifconfig.sh.Linux.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-17 04:49:07 -0500
committerMike Frysinger <vapier@gentoo.org>2011-01-17 04:49:12 -0500
commitfaa2df11597cf496205d3d629e3b3147b569afc8 (patch)
tree6e1db42c42365087686f48dbe9c39515de03f4ab /net/ifconfig.sh.Linux.in
parent711713d6642eff155bfede8a2dd213824016b76c (diff)
more whitespace cleanup
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'net/ifconfig.sh.Linux.in')
-rw-r--r--net/ifconfig.sh.Linux.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ifconfig.sh.Linux.in b/net/ifconfig.sh.Linux.in
index 74fcc9f4..f5c2064e 100644
--- a/net/ifconfig.sh.Linux.in
+++ b/net/ifconfig.sh.Linux.in
@@ -139,7 +139,7 @@ _add_address()
return 0
fi
- case "$1" in
+ case "$1" in
*:*) ifconfig "${IFACE}" inet6 add "$@"; return $?;;
esac
@@ -225,7 +225,7 @@ _delete_addresses()
while true; do
local addr=$(_get_inet_address)
[ -z "${addr}" ] && break
-
+
if [ "${addr}" = "127.0.0.1/8" ]; then
# Don't delete the loopback address
[ "${IFACE}" = "lo" -o "${IFACE}" = "lo0" ] && break
@@ -246,7 +246,7 @@ _delete_addresses()
einfo "${addr}"
ifconfig "${IFACE}" inet6 del "${addr}"
done
-
+
return 0
}