summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/nd6_rtr.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-17 17:50:09 +0000
committerume <ume@FreeBSD.org>2003-10-17 17:50:09 +0000
commit31759c05252abfcf6f62fa446d979c6c1d38485b (patch)
tree7e8d9cd0bb87570c0586ae703b31770bc2fe17c7 /sys/netinet6/nd6_rtr.c
parent89eb79f30badbc3ba88323c9af00988329c4e051 (diff)
downloadFreeBSD-src-31759c05252abfcf6f62fa446d979c6c1d38485b.zip
FreeBSD-src-31759c05252abfcf6f62fa446d979c6c1d38485b.tar.gz
nuke duplicate function and unused function.
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/nd6_rtr.c')
-rw-r--r--sys/netinet6/nd6_rtr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c
index bf50a7c..ec65cb7 100644
--- a/sys/netinet6/nd6_rtr.c
+++ b/sys/netinet6/nd6_rtr.c
@@ -1587,7 +1587,7 @@ in6_ifadd(pr, ifid)
struct in6_addr mask;
int prefixlen = pr->ndpr_plen;
- in6_len2mask(&mask, prefixlen);
+ in6_prefixlen2mask(&mask, prefixlen);
/*
* find a link-local address (will be interface ID).
OpenPOWER on IntegriCloud