X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fodhcp6c.c;h=d47e17c158ab1b8d2ffe4026954d8a4e6e934793;hp=f732d9e8fa52b36f1f2f5d314e94e98967df8851;hb=74ef11cad687fd165457f212cfe15bc5ad7a2cd1;hpb=b5c20853fcbc081ad950ef2083a4f5c31d6ecb54 diff --git a/src/odhcp6c.c b/src/odhcp6c.c index f732d9e..d47e17c 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -460,6 +460,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; } else { odhcp6c_add_state(state, new, sizeof(*new)); }