]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
No need to know the ra for the route.
authorRoy Marples <roy@marples.name>
Tue, 3 Sep 2013 15:17:19 +0000 (15:17 +0000)
committerRoy Marples <roy@marples.name>
Tue, 3 Sep 2013 15:17:19 +0000 (15:17 +0000)
ipv6.c
ipv6.h

diff --git a/ipv6.c b/ipv6.c
index 19da0ab386317cb3f4c39b9eefe49dbe97490afb..e384e9afc13884ece0486f6bc2bb08af78e519fd 100644 (file)
--- 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 2ce706abbc6cd9829699dd4125aa172fe49b1c5f..6015f4e129fe5fdadadd0700a74d967b7a78b10a 100644 (file)
--- 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;
 };