From 3c3875bfa60ff88e53e08998565cced49ffcbc51 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 3 Sep 2013 15:17:19 +0000 Subject: [PATCH] No need to know the ra for the route. --- ipv6.c | 1 - ipv6.h | 1 - 2 files changed, 2 deletions(-) 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; }; -- 2.47.3