diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-12-20 14:28:05 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-12-20 15:36:49 +0100 |
commit | 10cd335aea0acf35b31aa5ca8441a66a84437544 (patch) | |
tree | ada449e23dc9adc8355dfa1d319c9ba5f2da2b9e | |
parent | ec7da4bd0a28d331e10ccacc560321924bf7ff75 (diff) | |
download | NetworkManager-bg/modem-default-route-rh1527934.tar.gz |
wwan: clear idle source id when the callback runsbg/modem-default-route-rh1527934
Fixes: f0996d0eb82254ea794cf9607e4a9b4e2dc3d029
-rw-r--r-- | src/devices/wwan/nm-modem-broadband.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/wwan/nm-modem-broadband.c b/src/devices/wwan/nm-modem-broadband.c index cd7c48ef3c..dc0ce303ca 100644 --- a/src/devices/wwan/nm-modem-broadband.c +++ b/src/devices/wwan/nm-modem-broadband.c @@ -881,6 +881,8 @@ static_stage3_ip4_done (NMModemBroadband *self) g_assert (self->_priv.ipv4_config); g_assert (self->_priv.bearer); + self->_priv.idle_id_ip4 = 0; + _LOGI ("IPv4 static configuration:"); /* Fully fail if invalid IP address retrieved */ @@ -986,6 +988,7 @@ stage3_ip6_done (NMModemBroadband *self) g_assert (self->_priv.ipv6_config); + self->_priv.idle_id_ip6 = 0; memset (&address, 0, sizeof (address)); ip_method = get_bearer_ip_method (self->_priv.ipv6_config); |