X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fodhcp6c.c;h=64d363f46b9d21210d12c40fa72104a04848c5e0;hp=645131252a2f9f10c0e19aa136dac61bb6a62855;hb=4ad21618ad863b5f590ed00f2c7677605a98e39f;hpb=9e52c4de4476a99129b4ab2402898dd9af92e86c diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 6451312..64d363f 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -427,6 +427,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)); }