summaryrefslogtreecommitdiff
path: root/sys/netnatm/natm_proto.c
diff options
context:
space:
mode:
authorchuck <chuck@cvs.openbsd.org>1996-11-09 03:29:02 +0000
committerchuck <chuck@cvs.openbsd.org>1996-11-09 03:29:02 +0000
commitfbcb0b0850404098117cec4efee4bdc8e4d213ea (patch)
treef720fd0f1099296b3bfc614fd8396ad40cee97df /sys/netnatm/natm_proto.c
parent4f55d0d1d06df4d203fe33779d7363dc28f61dd0 (diff)
netbsd pr#2918 (jukka.partanen@research.nokia.com):
- fix up netnatm so that it compiles with new warning flags (and install headers) - sync in some minor changes from netbsd (Matthias Drochner)
Diffstat (limited to 'sys/netnatm/natm_proto.c')
-rw-r--r--sys/netnatm/natm_proto.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/netnatm/natm_proto.c b/sys/netnatm/natm_proto.c
index dbb3fe9eaad..08b06ea35d3 100644
--- a/sys/netnatm/natm_proto.c
+++ b/sys/netnatm/natm_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: natm_proto.c,v 1.2 1996/07/03 17:24:29 chuck Exp $ */
+/* $OpenBSD: natm_proto.c,v 1.3 1996/11/09 03:29:01 chuck Exp $ */
/*
*
@@ -66,6 +66,14 @@ struct protosw natmsw[] = {
natm5_sysctl
#endif
},
+{ SOCK_DGRAM, &natmdomain, PROTO_NATMAAL5, PR_CONNREQUIRED | PR_ATOMIC,
+ 0, 0, 0, 0,
+ natm_usrreq,
+ 0, 0, 0, 0,
+#if defined(__NetBSD__) || defined(__OpenBSD__)
+ natm5_sysctl
+#endif
+},
{ SOCK_STREAM, &natmdomain, PROTO_NATMAAL0, PR_CONNREQUIRED,
0, 0, 0, 0,
natm_usrreq,