summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-01-29 12:05:10 +0100
committertv <tv@krebsco.de>2023-01-29 12:05:10 +0100
commitb9cdcc75a4f54356b35c7d7b3e25e8ec28de633c (patch)
tree9c7ba46116df6691395b033a26410189b6e366cb
parentf8b3e682df2b12f5830159e43ca6da5bd626e1ac (diff)
tv wwan: flush addrs on stop
-rw-r--r--tv/3modules/wwan.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tv/3modules/wwan.nix b/tv/3modules/wwan.nix
index 03cd512e4..382f5a535 100644
--- a/tv/3modules/wwan.nix
+++ b/tv/3modules/wwan.nix
@@ -166,6 +166,7 @@ with import ./lib;
interface=$(get-interface)
+ ip addr flush "$interface"
ip link set dev "$interface" down
uqmi --stop-network 0xFFFFFFFF --autoconnect
uqmi --sync