summaryrefslogtreecommitdiffstats
path: root/rc.inet1
diff options
context:
space:
mode:
Diffstat (limited to 'rc.inet1')
-rw-r--r--rc.inet12
1 files changed, 0 insertions, 2 deletions
diff --git a/rc.inet1 b/rc.inet1
index 7d5508f..84c39c0 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -211,7 +211,6 @@ if_up() {
/sbin/ip address add ${ipalias}/32 dev ${1} label ${1}:${num} ;
num=$(($num + 1))
done
- unset num
fi
else # bring up interface using a static IP address
if [ -n "${IPADDR[$i]}" ]; then # skip unconfigured interfaces
@@ -228,7 +227,6 @@ if_up() {
/sbin/ip address add ${ipalias}/32 dev ${1} label ${1}:${num} ;
num=$(($num + 1))
done
- unset num
fi
else
debug_log "${1} interface is not configured in /etc/rc.d/rc.inet1.conf"