Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet fix ip4 protosw.



details:   https://anonhg.NetBSD.org/src/rev/3e1ffda50015
branches:  trunk
changeset: 481962:3e1ffda50015
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Feb 10 14:44:28 2000 +0000

description:
fix ip4 protosw.
gif interface and gre interface should be able to coexist.

diffstat:

 sys/netinet/in_proto.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 270c4b7ac55a -r 3e1ffda50015 sys/netinet/in_proto.c
--- a/sys/netinet/in_proto.c    Thu Feb 10 13:10:43 2000 +0000
+++ b/sys/netinet/in_proto.c    Thu Feb 10 14:44:28 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in_proto.c,v 1.34 1999/12/13 15:17:20 itojun Exp $     */
+/*     $NetBSD: in_proto.c,v 1.35 2000/02/10 14:44:28 itojun Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -214,6 +214,7 @@
   0,           0,              0,              0,
 },
 #endif /* NIPIP > 0 || MROUTING */
+#endif /* NGIF */
 #if NGRE > 0
 { SOCK_RAW,    &inetdomain,    IPPROTO_GRE,    PR_ATOMIC|PR_ADDR,
   gre_input,   rip_output,     0,              rip_ctloutput,
@@ -226,7 +227,6 @@
   0,           0,              0,              0,
 },
 #endif /* NGRE > 0 */
-#endif /* NGIF */
 { SOCK_RAW,    &inetdomain,    IPPROTO_IGMP,   PR_ATOMIC|PR_ADDR,
   igmp_input,  rip_output,     0,              rip_ctloutput,
   rip_usrreq,



Home | Main Index | Thread Index | Old Index