mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 00:21:25 +01:00
Corrected a bug that caused protocol-4 tunnels (used for multicast
forwarding between networks that aren't directly connected) not to work by intercepting the wrong protocol number. This should fix a bug reported previously by someone I don't remember.
This commit is contained in:
parent
6c0828a6c6
commit
fba14c2e49
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9333
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* From: @(#)in_proto.c 8.1 (Berkeley) 6/10/93
|
||||
* $Id: in_proto.c,v 1.14 1995/05/11 00:13:17 wollman Exp $
|
||||
* $Id: in_proto.c,v 1.16 1995/06/13 17:51:09 wollman Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -123,7 +123,7 @@ struct protosw inetsw[] = {
|
||||
rip_usrreq,
|
||||
0, 0, 0, 0,
|
||||
},
|
||||
{ SOCK_RAW, &inetdomain, IPPROTO_ENCAP, PR_ATOMIC|PR_ADDR,
|
||||
{ SOCK_RAW, &inetdomain, IPPROTO_IPIP, PR_ATOMIC|PR_ADDR,
|
||||
ipip_input, rip_output, 0, rip_ctloutput,
|
||||
rip_usrreq,
|
||||
0, 0, 0, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user