Mercurial > hg > dhcpcd
changeset 2477:0cb34a762c93 draft
Add the interface to our list before initing state.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Tue, 06 May 2014 18:14:43 +0000 |
| parents | 2d2f728a69dc |
| children | 698b04b93c15 |
| files | dhcpcd.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dhcpcd.c Tue May 06 14:42:24 2014 +0000 +++ b/dhcpcd.c Tue May 06 18:14:43 2014 +0000 @@ -819,8 +819,8 @@ ipv4_applyaddr(ifn); if_free(ifp); } else { + TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); init_state(ifp, argc, argv); - TAILQ_INSERT_TAIL(ctx->ifaces, ifp, next); dhcpcd_startinterface(ifp); } }
