From 1d1e74031aac9b12ee892b1720a1a3d4f3025d98 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Wed, 8 Oct 2014 15:43:21 +0200 Subject: [PATCH 1/1] odhcp6c: Set bound state true before script_call in statefull mode --- src/odhcp6c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2