X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=src%2Fodhcp6c.c;h=d35da2e7a08be0ab66072e01190bb640c9d2a652;hb=8e50917e51f7f21c53f9021063670065c8fa06d8;hp=d47e17c158ab1b8d2ffe4026954d8a4e6e934793;hpb=74ef11cad687fd165457f212cfe15bc5ad7a2cd1;p=odhcp6c.git diff --git a/src/odhcp6c.c b/src/odhcp6c.c index d47e17c..d35da2e 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -375,10 +375,9 @@ bool odhcp6c_signal_process(void) { if (do_signal == SIGIO) { do_signal = 0; - bool ra_rtnled = ra_rtnl_process(); bool ra_updated = ra_process(); - if (ra_rtnled || (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); @@ -460,7 +459,7 @@ void odhcp6c_update_entry_safe(enum odhcp6c_state state, struct odhcp6c_entry *n if (x) { x->valid = new->valid; x->preferred = new->preferred; - x->prefix_class = new->prefix_class; + x->class = new->class; } else { odhcp6c_add_state(state, new, sizeof(*new)); }