X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fodhcp6c.c;h=7cdf09e47c25b62f1125c5c81efc17e2b97c6847;hp=c76c81316fc8e917099bfbdc6dad70ce24ffbe00;hb=6373af63310f32e1408a81f4e4e069a5f0d3e59e;hpb=d6fe99f6d03873e7a670c9b6f26fa03b219422f5 diff --git a/src/odhcp6c.c b/src/odhcp6c.c index c76c813..7cdf09e 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -480,11 +480,8 @@ bool odhcp6c_signal_process(void) if (ra_link_up()) signal_usr2 = true; - if (ra_updated && (bound || allow_slaac_only == 0)) + 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) - script_delay_call("ra-updated", allow_slaac_only); - } return signal_usr1 || signal_usr2 || signal_term;