aboutsummaryrefslogtreecommitdiff
path: root/net/ifconfig.sh.BSD.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/ifconfig.sh.BSD.in')
-rw-r--r--net/ifconfig.sh.BSD.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ifconfig.sh.BSD.in b/net/ifconfig.sh.BSD.in
index c0c75f08..15c8fb8e 100644
--- a/net/ifconfig.sh.BSD.in
+++ b/net/ifconfig.sh.BSD.in
@@ -38,7 +38,7 @@ _ifindex()
echo "${x#/dev/net}"
return 0
fi
- i=$((${i} + 1))
+ : $(( i += 1 ))
done
;;
default)
@@ -47,7 +47,7 @@ _ifindex()
echo "${i}"
return 0
fi
- i=$((${i} + 1))
+ : $(( i += 1 ))
done
;;
esac