summaryrefslogtreecommitdiffstats
path: root/tv
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
commite7ff00f8c1cc15e690919bfabbb9de16410565af (patch)
tree80546b77e4f33297fe420fd4ad9cbf5319f66caa /tv
parent2cfbf16ab3ce4a7c8b6d24a88397b4e453d8f5ed (diff)
tv wwan: flush addrs on stop
Diffstat (limited to 'tv')
-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 03cd512..382f5a5 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