Fix PR/2095 options MROUTING did not compile.
This commit is contained in:
parent
47286969ae
commit
b2cc81b8fe
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: in_proto.c,v 1.13 1996/02/13 23:42:09 christos Exp $ */
|
||||
/* $NetBSD: in_proto.c,v 1.14 1996/02/18 18:58:32 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1993
|
||||
|
@ -80,7 +80,7 @@
|
|||
#endif /* EON */
|
||||
|
||||
#ifdef MROUTING
|
||||
#include <netinet/mroute.h>
|
||||
#include <netinet/ip_mroute.h>
|
||||
#endif /* MROUTING */
|
||||
|
||||
extern struct domain inetdomain;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: raw_ip.c,v 1.24 1996/02/13 23:43:29 christos Exp $ */
|
||||
/* $NetBSD: raw_ip.c,v 1.25 1996/02/18 18:58:33 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1988, 1993
|
||||
|
@ -204,6 +204,9 @@ rip_ctloutput(op, so, level, optname, m)
|
|||
struct mbuf **m;
|
||||
{
|
||||
register struct inpcb *inp = sotoinpcb(so);
|
||||
#ifdef MROUTING
|
||||
int error;
|
||||
#endif
|
||||
|
||||
if (level != IPPROTO_IP) {
|
||||
if (m != 0 && *m != 0)
|
||||
|
|
Loading…
Reference in New Issue