summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2011-07-08 09:38:33 +0000
committerzec <zec@FreeBSD.org>2011-07-08 09:38:33 +0000
commit99a0b299b3e1499b4637e127d2dd98bbf780464e (patch)
treeaad8ef2126dd98c18ff880e797ec2c49495f9e91 /sys/netinet6
parentcbb0abbaca8551d0b28a2e9050b36edd3a891bac (diff)
downloadFreeBSD-src-99a0b299b3e1499b4637e127d2dd98bbf780464e.zip
FreeBSD-src-99a0b299b3e1499b4637e127d2dd98bbf780464e.tar.gz
Permit ARP to proceed for IPv4 host routes for which the gateway is the
same as the host address. This already works fine for INET6 and ND6. While here, remove two function pointers from struct lltable which are only initialized but never used. MFC after: 3 days
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/in6.c b/sys/netinet6/in6.c
index 9558d1b..39e77e9 100644
--- a/sys/netinet6/in6.c
+++ b/sys/netinet6/in6.c
@@ -2636,10 +2636,8 @@ in6_domifattach(struct ifnet *ifp)
ext->scope6_id = scope6_ifattach(ifp);
ext->lltable = lltable_init(ifp, AF_INET6);
if (ext->lltable != NULL) {
- ext->lltable->llt_new = in6_lltable_new;
ext->lltable->llt_free = in6_lltable_free;
ext->lltable->llt_prefix_free = in6_lltable_prefix_free;
- ext->lltable->llt_rtcheck = in6_lltable_rtcheck;
ext->lltable->llt_lookup = in6_lltable_lookup;
ext->lltable->llt_dump = in6_lltable_dump;
}
OpenPOWER on IntegriCloud