From: Ismaƫl Bouya Date: Wed, 12 Feb 2020 16:02:27 +0000 (+0100) Subject: Fix typo in for loop X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=88e66de272bf09750d2096752dcd4e5fc344cbc3;p=perso%2FImmae%2FConfig%2Ftinc%2Fhosts.git Fix typo in for loop --- diff --git a/ImmaeEu-down b/ImmaeEu-down index 8dc9fc4..8459778 100755 --- a/ImmaeEu-down +++ b/ImmaeEu-down @@ -5,7 +5,7 @@ [ -e /run/tinc_$NETNAME.vars ] && . /run/tinc_$NETNAME.vars rm -f /tmp/tinc_$NETNAME /run/tinc_$NETNAME.vars [ -n "$GWIP" ] && ip -6 route del default via $GWIP -for MYIP in "$MYIPS"; do +for MYIP in $MYIPS; do ip -6 addr del $MYIP/96 dev $INTERFACE done ip -6 link set $INTERFACE down