diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-02-13 11:17:29 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-02-13 11:17:29 +0100 |
commit | f27841e11dd36b9bb945dc3ce0cdfbd67f78b4e2 (patch) | |
tree | 3607b9d0bc519b521f32def278eb7a3adfb24169 /ImmaeEu-down | |
parent | bd3711f0bb5022f389e2cbe1110b185da700ee6d (diff) | |
download | hosts-f27841e11dd36b9bb945dc3ce0cdfbd67f78b4e2.tar.gz hosts-f27841e11dd36b9bb945dc3ce0cdfbd67f78b4e2.tar.zst hosts-f27841e11dd36b9bb945dc3ce0cdfbd67f78b4e2.zip |
Fix subnet expansion
Diffstat (limited to 'ImmaeEu-down')
-rwxr-xr-x | ImmaeEu-down | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ImmaeEu-down b/ImmaeEu-down index 638933f..daee563 100755 --- a/ImmaeEu-down +++ b/ImmaeEu-down | |||
@@ -6,9 +6,9 @@ | |||
6 | rm -f /tmp/tinc_$NETNAME /run/tinc_$NETNAME.vars | 6 | rm -f /tmp/tinc_$NETNAME /run/tinc_$NETNAME.vars |
7 | [ -n "$GWIP" ] && ip -6 route del default via $GWIP table 655 | 7 | [ -n "$GWIP" ] && ip -6 route del default via $GWIP table 655 |
8 | for MYIP in $MYIPS; do | 8 | for MYIP in $MYIPS; do |
9 | ip -6 addr del $MYIP/80 dev $INTERFACE | 9 | ip -6 addr del $MYIP/96 dev $INTERFACE |
10 | ip -6 rule del from $MYIP/80 table 655 | 10 | ip -6 rule del from $MYIP/96 table 655 |
11 | ip -6 rule del to $MYIP/80 table 655 | 11 | ip -6 rule del to $MYIP/96 table 655 |
12 | done | 12 | done |
13 | ip -6 link set $INTERFACE down | 13 | ip -6 link set $INTERFACE down |
14 | 14 | ||