Commit 0ed3129f authored by Ondřej Zajíček's avatar Ondřej Zajíček

RAdv: Fix crash during prefix change

Thanks to Julian Schuh for the bugreport.
parent 8bd718b3
Pipeline #37937 passed with stages
in 6 minutes and 33 seconds
......@@ -174,7 +174,7 @@ radv_prepare_prefixes(struct radv_iface *ifa)
if (pfx->valid && !pfx->mark)
RADV_TRACE(D_EVENTS, "Invalidating prefix %N on %s",
pfx->prefix, ifa->iface->name);
&pfx->prefix, ifa->iface->name);
pfx->valid = 0;
pfx->changed = now;
......@@ -201,7 +201,7 @@ radv_prune_prefixes(struct radv_iface *ifa)
if (expires <= now)
RADV_TRACE(D_EVENTS, "Removing prefix %N on %s",
px->prefix, ifa->iface->name);
&px->prefix, ifa->iface->name);
rem_node(NODE px);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment