diff options
| author | Roy Marples <roy@marples.name> | 2016-05-09 08:22:38 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-05-09 08:22:38 +0000 |
| commit | 6bbedd2c411e7cc8dded57d8a4a4d8e7c4fc4296 (patch) | |
| tree | 7b1c3f15524754aa4f3b481407f31232aad04e65 /dhcpcd.c | |
| parent | de1c4762e497c4c764a1812a1ecb49c8837008e1 (diff) | |
| download | dhcpcd-6bbedd2c411e7cc8dded57d8a4a4d8e7c4fc4296.tar.xz | |
Preserve lo0 routes if the global default is to persist.
Diffstat (limited to 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1172,6 +1172,7 @@ stop_all_interfaces(struct dhcpcd_ctx *ctx, unsigned long long opts) { struct interface *ifp; + ctx->options |= DHCPCD_EXITING; /* Drop the last interface first */ TAILQ_FOREACH_REVERSE(ifp, ctx->ifaces, if_head, next) { if (ifp->options) { |
