]> git.decadent.org.uk Git - odhcp6c.git/blobdiff - src/odhcp6c.c
Detect "carrier up"-events and restart transaction
[odhcp6c.git] / src / odhcp6c.c
index 100ed61b0cf40809de09c22a7f1144d2c52feb72..1f75c50def5ed7195ff234e9237474b61b6a6bf5 100644 (file)
@@ -391,6 +391,9 @@ bool odhcp6c_signal_process(void)
                do_signal = 0;
                bool ra_updated = ra_process();
 
+               if (ra_link_up())
+                       do_signal = SIGUSR2;
+
                if (ra_updated && (bound || allow_slaac_only == 0))
                        script_call("ra-updated"); // Immediate process urgent events
                else if (ra_updated && !bound && allow_slaac_only > 0)