diff options
author | wollman <wollman@FreeBSD.org> | 1994-12-22 21:56:22 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-12-22 21:56:22 +0000 |
commit | e6ec63204feee711e761971002214c19f676007d (patch) | |
tree | dd986184c8951fb36a642ae622be3def3ec5b792 /sys/netinet/in.c | |
parent | aabe5bb0c9a9c0d3f1b160f7a2922a7b96f696e3 (diff) | |
download | FreeBSD-src-e6ec63204feee711e761971002214c19f676007d.zip FreeBSD-src-e6ec63204feee711e761971002214c19f676007d.tar.gz |
Move ARP interface initialization into if_ether.c:arp_ifinit().
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r-- | sys/netinet/in.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c index 5343485..9aa8ddb 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in.c 8.2 (Berkeley) 11/15/93 - * $Id: in.c,v 1.6 1994/10/02 17:48:37 phk Exp $ + * $Id: in.c,v 1.7 1994/11/03 21:04:21 wollman Exp $ */ #include <sys/param.h> @@ -49,9 +49,7 @@ #include <netinet/in.h> #include <netinet/in_var.h> #include <netinet/if_ether.h> -#include <ether.h> -#ifdef INET /* * Return the network number from an internet address. */ @@ -427,12 +425,6 @@ in_ifinit(ifp, ia, sin, scrub) ia->ia_addr = oldaddr; return (error); } -#if NETHER > 0 - if (ifp->if_output == ether_output) { /* XXX: Another Kludge */ - ia->ia_ifa.ifa_rtrequest = arp_rtrequest; - ia->ia_ifa.ifa_flags |= RTF_CLONING; - } -#endif splx(s); if (scrub) { ia->ia_ifa.ifa_addr = (struct sockaddr *)&oldaddr; @@ -631,4 +623,3 @@ in_delmulti(inm) } splx(s); } -#endif |