diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-09 06:43:39 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-09 06:43:39 +0000 |
commit | 5ddbbd9807b495d0890ca9907b336fbf4ec750a6 (patch) | |
tree | 815cd14bcc5d22949999b176687a2e1c93bd90ae /sys/netinet6/in6_prefix.c | |
parent | 75509732266590a78449120024a995200067d913 (diff) |
No need for net/net_osdep.h
Diffstat (limited to 'sys/netinet6/in6_prefix.c')
-rw-r--r-- | sys/netinet6/in6_prefix.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet6/in6_prefix.c b/sys/netinet6/in6_prefix.c index 211980f5c1c..46fa64444a0 100644 --- a/sys/netinet6/in6_prefix.c +++ b/sys/netinet6/in6_prefix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_prefix.c,v 1.10 2001/03/25 09:24:26 itojun Exp $ */ +/* $OpenBSD: in6_prefix.c,v 1.11 2001/06/09 06:43:37 angelos Exp $ */ /* $KAME: in6_prefix.c,v 1.47 2001/03/25 08:41:39 itojun Exp $ */ /* @@ -88,8 +88,6 @@ struct rr_prhead rr_prefix; struct timeout in6_rr_timer_ch; -#include <net/net_osdep.h> - static void add_each_addr __P((struct socket *so, struct rr_prefix *rpp, struct rp_addr *rap)); static int create_ra_entry __P((struct rp_addr **rapp)); @@ -577,7 +575,7 @@ add_each_addr(struct socket *so, struct rr_prefix *rpp, struct rp_addr *rap) /* init ifra */ bzero(&ifra, sizeof(ifra)); - strncpy(ifra.ifra_name, if_name(rpp->rp_ifp), sizeof(ifra.ifra_name)); + strncpy(ifra.ifra_name, rpp->rp_ifp->if_xname, sizeof(ifra.ifra_name)); ifra.ifra_addr.sin6_family = ifra.ifra_prefixmask.sin6_family = AF_INET6; ifra.ifra_addr.sin6_len = ifra.ifra_prefixmask.sin6_len = |