From: Roy Marples Date: Tue, 3 Sep 2013 15:17:19 +0000 (+0000) Subject: No need to know the ra for the route. X-Git-Tag: v6.1.0~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3c3875bfa60ff88e53e08998565cced49ffcbc51;p=thirdparty%2Fdhcpcd.git No need to know the ra for the route. --- diff --git a/ipv6.c b/ipv6.c index 19da0ab3..e384e9af 100644 --- a/ipv6.c +++ b/ipv6.c @@ -800,7 +800,6 @@ make_route(const struct interface *ifp, const struct ra *rap) syslog(LOG_ERR, "%s: %m", __func__); return NULL; } - r->ra = rap; r->iface = ifp; r->metric = ifp->metric; if (rap) diff --git a/ipv6.h b/ipv6.h index 2ce706ab..6015f4e1 100644 --- a/ipv6.h +++ b/ipv6.h @@ -106,7 +106,6 @@ struct rt6 { struct in6_addr net; struct in6_addr gate; const struct interface *iface; - const struct ra *ra; int metric; unsigned int mtu; };