]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
When daemonised, don't set bound state.
authorRoy Marples <roy@marples.name>
Sat, 19 Jul 2008 14:04:36 +0000 (14:04 +0000)
committerRoy Marples <roy@marples.name>
Sat, 19 Jul 2008 14:04:36 +0000 (14:04 +0000)
client.c

index 47ac2adececaf402fb1f97d8e71169f6a7296707..019f45b6a6904a769246d0c706ecb969614bd8fc 100644 (file)
--- a/client.c
+++ b/client.c
@@ -268,7 +268,6 @@ daemonise(struct if_state *state, const struct options *options)
                *state->pid_fd = -1;
        }
 
-       state->state = STATE_BOUND;
        timerclear(&state->exit);
        sigprocmask(SIG_SETMASK, &old, NULL);
        if (pid == 0) {