summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-29 07:55:00 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-29 07:55:00 +0000
commit0c16805fafc1c4948896949b53a45cd12b23c792 (patch)
tree17309af373ce87acd74dd2b36b9392af92fdc87f /sys/net
parent9b8b75740ddd55c4596231164f62c047299cb30c (diff)
attach nd_ifinfo structure to if_afdata.
split IPv6 MTU (advertised by RA) from real link MTU. sync with kame
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_enc.c5
-rw-r--r--sys/net/if_pflog.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c
index b0172555219..9385d95ea85 100644
--- a/sys/net/if_enc.c
+++ b/sys/net/if_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_enc.c,v 1.37 2002/03/14 01:27:09 millert Exp $ */
+/* $OpenBSD: if_enc.c,v 1.38 2002/05/29 07:54:58 itojun Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -115,9 +115,6 @@ encattach(int nenc)
#if NBPFILTER > 0
bpfattach(&encif[i].sc_if.if_bpf, ifp, DLT_ENC, ENC_HDRLEN);
#endif
-#ifdef INET6
- nd6_ifattach(ifp);
-#endif
}
}
diff --git a/sys/net/if_pflog.c b/sys/net/if_pflog.c
index b2a2dc4a65e..04c53ae7e11 100644
--- a/sys/net/if_pflog.c
+++ b/sys/net/if_pflog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflog.c,v 1.4 2001/06/27 01:58:03 provos Exp $ */
+/* $OpenBSD: if_pflog.c,v 1.5 2002/05/29 07:54:58 itojun Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -105,9 +105,6 @@ pflogattach(int npflog)
bpfattach(&pflogif[i].sc_if.if_bpf, ifp, DLT_PFLOG,
PFLOG_HDRLEN);
#endif
-#ifdef INET6
- nd6_ifattach(ifp);
-#endif
}
}