From: Roy Marples Date: Sat, 14 Mar 2015 00:58:02 +0000 (+0000) Subject: Duh, not IPv6 here. X-Git-Tag: v6.8.0~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6820ead562aafe50b83b92c7fc0ff1171c081189;p=thirdparty%2Fdhcpcd.git Duh, not IPv6 here. --- diff --git a/ipv4.c b/ipv4.c index 5e0cf108..757922e7 100644 --- 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 &&