aboutsummaryrefslogtreecommitdiff
path: root/net/iproute2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/iproute2.sh')
-rw-r--r--net/iproute2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/iproute2.sh b/net/iproute2.sh
index b420e41b..16186e8e 100644
--- a/net/iproute2.sh
+++ b/net/iproute2.sh
@@ -33,7 +33,7 @@ _ifindex()
for f in /sys/class/net/*/ifindex ; do
v=$(cat $f)
[ $v -gt $index ] && index=$v
- done
+ done
: $(( index += 1 ))
fi
echo "${index}"