Subject: kern/2095: Bugs in mroute code
To: None <gnats-bugs@NetBSD.ORG>
From: Peter Svensson <>
List: netbsd-bugs
Date: 02/18/1996 14:10:20
>Number:         2095
>Category:       kern
>Synopsis:       Two small errors in mrouting code
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 18 08:35:02 1996
>Originator:     Peter Svensson
The Computer Society at Lund University and Lund Institute of Technology
>Release:        960216<NetBSD-current source date>
SparcStation 1, NetBSD-current
System: NetBSD 1.1 NetBSD 1.1 (PIAU.SCSI) #0: Wed Jan 24 20:36:18 MET 1996 sparc

There are two small errors in the mrouting code. One reference to a 
renamed header file (mroute.h, changed to ip_mroute.h) and one reference 
to an undeclared variable in code conditionally compiled in when using 
mrouting in the kernel.
Compile a kernel with mrouting enabled.
In sys/netinet/in_proto.c change the reference to "mroute.h" to 
In sys/netinet/raw_ip.c in function rip_ctloutput() add a conditionally 
declared variable "int error" when using option MROUTE.