X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fodhcp6c.c;h=d35da2e7a08be0ab66072e01190bb640c9d2a652;hp=b2c6b9815558f14c54aee130821f859e820588e9;hb=8e50917e51f7f21c53f9021063670065c8fa06d8;hpb=9c409ef5ce654ed5dd3ce706317eaac718a22983 diff --git a/src/odhcp6c.c b/src/odhcp6c.c index b2c6b98..d35da2e 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -459,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)); }