X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=src%2Fodhcp6c.c;h=d35da2e7a08be0ab66072e01190bb640c9d2a652;hb=8e50917e51f7f21c53f9021063670065c8fa06d8;hp=38b8e82fe9560b421c634bf2ee631a0a03e92904;hpb=dfc86766bf0b3d28f55adf5deb340b1d40176808;p=odhcp6c.git diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 38b8e82..d35da2e 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -459,6 +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->class = new->class; } else { odhcp6c_add_state(state, new, sizeof(*new)); }