diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c index 18a002a671ae..a3bab0f3021b 100644 --- a/usr.sbin/ppp/route.c +++ b/usr.sbin/ppp/route.c @@ -614,6 +614,7 @@ route_Add(struct sticky_route **rp, int type, const struct ncprange *dst, r->next = NULL; ncprange_copy(&r->dst, dst); ncpaddr_copy(&r->gw, gw); + *rp = r; } void