]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Don't run INFORM6 twice.
authorRoy Marples <roy@marples.name>
Mon, 10 Jun 2013 22:13:44 +0000 (22:13 +0000)
committerRoy Marples <roy@marples.name>
Mon, 10 Jun 2013 22:13:44 +0000 (22:13 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index d297fd99de911489cd8b113511dd210d64d44749..7104172f5f768466c7a152ae81e18de79bee3c96 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -2138,8 +2138,6 @@ recv:
        if (options & DHCPCD_TEST)
                script_runreason(ifp, "TEST");
        else {
-               if (state->state == DH6S_INFORM)
-                       script_runreason(ifp, state->reason);
                state->state = DH6S_BOUND;
                if (state->renew && state->renew != ND6_INFINITE_LIFETIME)
                        eloop_timeout_add_sec(state->renew,