diff options
| author | Roy Marples <roy@marples.name> | 2020-05-20 21:36:00 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-05-20 21:36:00 +0100 |
| commit | 0b96af5978a73029b0b645712c102603bbdb38bb (patch) | |
| tree | 4d6fd62f43adb07af08a907b0f625cac585110f3 /src/ipv6.c | |
| parent | 57b2db8ffc9e88d303e2c140e07be79aa45a35ce (diff) | |
| download | dhcpcd-0b96af5978a73029b0b645712c102603bbdb38bb.tar.xz | |
Remove some old FORKED logic.
No longer needed now the main process forks from the get go.
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1238,11 +1238,8 @@ ipv6_handleifa(struct dhcpcd_ctx *ctx, } #endif - if (ia->dadcallback) { + if (ia->dadcallback) ia->dadcallback(ia); - if (ctx->options & DHCPCD_FORKED) - goto out; - } if (IN6_IS_ADDR_LINKLOCAL(&ia->addr) && !(ia->addr_flags & IN6_IFF_NOTUSEABLE)) @@ -1257,8 +1254,6 @@ ipv6_handleifa(struct dhcpcd_ctx *ctx, cb, next); cb->callback(cb->arg); free(cb); - if (ctx->options & DHCPCD_FORKED) - goto out; } } } @@ -1274,7 +1269,6 @@ ipv6_handleifa(struct dhcpcd_ctx *ctx, dhcp6_handleifa(cmd, ia, pid); #endif -out: /* Done with the ia now, so free it. */ if (cmd == RTM_DELADDR) ipv6_freeaddr(ia); |
