summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_proto.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-25 06:09:23 +0000
committerpeter <peter@FreeBSD.org>1997-05-25 06:09:23 +0000
commitf0f8900890fd095d612cb56ad85fa45d6c263ec8 (patch)
treed12cec09e2ea6df8854d4faf5ad277ea0e5ec56a /sys/netinet/in_proto.c
parent4623237221c6780dd003b452788a3cc474036d01 (diff)
downloadFreeBSD-src-f0f8900890fd095d612cb56ad85fa45d6c263ec8.zip
FreeBSD-src-f0f8900890fd095d612cb56ad85fa45d6c263ec8.tar.gz
Connect the ipdivert div_usrreqs struct to the ip proto switch table
Diffstat (limited to 'sys/netinet/in_proto.c')
-rw-r--r--sys/netinet/in_proto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c
index eeaf2f4..9ba86a0 100644
--- a/sys/netinet/in_proto.c
+++ b/sys/netinet/in_proto.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)in_proto.c 8.2 (Berkeley) 2/9/95
- * $Id: in_proto.c,v 1.38 1997/02/18 20:46:22 wollman Exp $
+ * $Id: in_proto.c,v 1.39 1997/04/27 20:01:05 wollman Exp $
*/
#include <sys/param.h>
@@ -151,8 +151,9 @@ struct protosw inetsw[] = {
#ifdef IPDIVERT
{ SOCK_RAW, &inetdomain, IPPROTO_DIVERT, PR_ATOMIC|PR_ADDR,
div_input, 0, 0, ip_ctloutput,
- div_usrreq,
+ 0,
div_init, 0, 0, 0,
+ &div_usrreqs,
},
#endif
#ifdef TPIP
OpenPOWER on IntegriCloud