Commit 95f24d40 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

No need to prevent re6st through LAN anymore

Since we activated HMAC on the test network, there is no chance of
merging the 2 networks anymore.
parent 9998929d
Pipeline #35849 failed with stage
in 0 seconds
...@@ -9,14 +9,9 @@ for IF in $(find . -type l -printf "%f\n"); do ...@@ -9,14 +9,9 @@ for IF in $(find . -type l -printf "%f\n"); do
if ! realpath $(readlink $IF) | grep -q "^/sys/devices/virtual"; then if ! realpath $(readlink $IF) | grep -q "^/sys/devices/virtual"; then
# If interface is up and has IPv6 neighbours # If interface is up and has IPv6 neighbours
if [ "$(cat $IF/operstate)" = "up" ] && [ -n "$(ip -6 neigh list dev $IF)" ]; then if [ "$(cat $IF/operstate)" = "up" ] && [ -n "$(ip -6 neigh list dev $IF)" ]; then
# Special case: interfaces connected to Lille office LAN should not have interface option enabled
if ! ping6 -q -c3 -w3 fe80::20d:b9ff:fe3f:9055%$IF; then
IF_LIST+=($IF);
else
RM_IF_LIST+=($IF); RM_IF_LIST+=($IF);
fi fi
fi fi
fi
done done
cp $CONF $TMP; cp $CONF $TMP;
REPLACE=0 REPLACE=0
......
97daade34ab16b93c07810391a6341a6e0cca46c83fb49544b1ee5d42649b7e3 - 007dcca4a3c2afdb420092f8b3c7795d2a7c1552efac2bc3635d65ddd8a01dff -
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment