From: Hans Dedecker Date: Wed, 8 Oct 2014 13:43:21 +0000 (+0200) Subject: odhcp6c: Set bound state true before script_call in statefull mode X-Git-Tag: debian/1.1+git20160131-1~48^2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=1d1e74031aac9b12ee892b1720a1a3d4f3025d98;p=odhcp6c.git odhcp6c: Set bound state true before script_call in statefull mode --- diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 7cdf09e..61ffe9d 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -336,8 +336,8 @@ int main(_unused int argc, char* const argv[]) break; case DHCPV6_STATEFUL: - script_call("bound"); bound = true; + script_call("bound"); syslog(LOG_NOTICE, "entering stateful-mode on %s", ifname); while (!signal_usr2 && !signal_term) {