]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Duh, not IPv6 here.
authorRoy Marples <roy@marples.name>
Sat, 14 Mar 2015 00:58:02 +0000 (00:58 +0000)
committerRoy Marples <roy@marples.name>
Sat, 14 Mar 2015 00:58:02 +0000 (00:58 +0000)
ipv4.c

diff --git a/ipv4.c b/ipv4.c
index 5e0cf108ae8c9923756bd0052ebcacdcfdf3c05a..757922e748c734bf296e2bbe69168caffd9216e8 100644 (file)
--- a/ipv4.c
+++ b/ipv4.c
@@ -383,7 +383,7 @@ nc_route(struct rt *ort, struct rt *nrt)
 #ifdef HAVE_ROUTE_METRIC
                    ort->metric == nrt->metric &&
 #endif
-                   IN6_ARE_ADDR_EQUAL(&ort->gate, &nrt->gate))))
+                   ort->gate.s_addr == nrt->gate.s_addr)))
                        return 0;
        } else if (ort->flags & STATE_FAKE && !(nrt->flags & STATE_FAKE) &&
            ort->iface == nrt->iface &&