diff options
| author | Roy Marples <roy@marples.name> | 2020-12-27 20:39:31 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-12-27 20:39:31 +0000 |
| commit | d93d9b90e248e2e4f7a4c96f572cab41d04a0140 (patch) | |
| tree | bfc592ad015332091ef597762c6a2e390599ee8d | |
| parent | 3547ed19f021396e2f4624f758d681e9a5251dc9 (diff) | |
| download | dhcpcd-d93d9b90e248e2e4f7a4c96f572cab41d04a0140.tar.xz | |
Adjust prior to build routes and run script after aborting protocols for roaming
| -rw-r--r-- | src/dhcpcd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 8762576c..42882c2c 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -700,7 +700,6 @@ dhcpcd_nocarrier_roaming(struct interface *ifp) { loginfox("%s: carrier lost - roaming", ifp->name); - script_runreason(ifp, "NOCARRIER_ROAMING"); #ifdef ARP arp_drop(ifp); @@ -711,6 +710,9 @@ dhcpcd_nocarrier_roaming(struct interface *ifp) #ifdef DHCP6 dhcp6_abort(ifp); #endif + + rt_build(ifp->ctx, AF_UNSPEC); + script_runreason(ifp, "NOCARRIER_ROAMING"); } void |
