Format police.
This commit is contained in:
parent
f4db87c6e4
commit
252495f006
@ -714,7 +714,7 @@ ip_mforward(ip, ifp, m)
|
||||
u_long tunnel_src;
|
||||
|
||||
if (ip->ip_hl < (IP_HDR_LEN + TUNNEL_LEN) >> 2 ||
|
||||
(ipoptions = (u_char *)(ip + 1))[1] != IPOPT_LSRR ) {
|
||||
(ipoptions = (u_char *)(ip + 1))[1] != IPOPT_LSRR) {
|
||||
/*
|
||||
* Packet arrived via a physical interface or was
|
||||
* decapsulated off an encapsulating tunnel.
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)raw_ip.c 7.8 (Berkeley) 7/25/90
|
||||
* $Id: raw_ip.c,v 1.11 1994/02/02 05:59:08 hpeyerl Exp $
|
||||
* $Id: raw_ip.c,v 1.12 1994/02/10 18:46:05 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -123,8 +123,8 @@ rip_output(m, so)
|
||||
opts = rp->rinp_options;
|
||||
}
|
||||
return (ip_output(m, opts, &rp->rinp_route,
|
||||
(so->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST
|
||||
, rp->rinp_rcb.rcb_moptions ));
|
||||
(so->so_options & SO_DONTROUTE) | IP_ALLOWBROADCAST,
|
||||
rp->rinp_rcb.rcb_moptions));
|
||||
}
|
||||
|
||||
/*
|
||||
@ -166,7 +166,7 @@ rip_ctloutput(op, so, level, optname, m)
|
||||
case IP_ADD_MEMBERSHIP:
|
||||
case IP_DROP_MEMBERSHIP:
|
||||
error = ip_setmoptions(optname,
|
||||
&rp->rinp_rcb.rcb_moptions, *m);
|
||||
&rp->rinp_rcb.rcb_moptions, *m);
|
||||
break;
|
||||
default:
|
||||
#ifdef MROUTING
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)udp_usrreq.c 7.20 (Berkeley) 4/20/91
|
||||
* $Id: udp_usrreq.c,v 1.11 1994/02/02 05:59:10 hpeyerl Exp $
|
||||
* $Id: udp_usrreq.c,v 1.12 1994/02/10 18:46:06 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -439,8 +439,8 @@ udp_output(inp, m, addr, control)
|
||||
((struct ip *)ui)->ip_tos = inp->inp_ip.ip_tos; /* XXX */
|
||||
udpstat.udps_opackets++;
|
||||
error = ip_output(m, inp->inp_options, &inp->inp_route,
|
||||
inp->inp_socket->so_options & (SO_DONTROUTE | SO_BROADCAST)
|
||||
, inp->inp_moptions );
|
||||
inp->inp_socket->so_options & (SO_DONTROUTE | SO_BROADCAST),
|
||||
inp->inp_moptions);
|
||||
|
||||
if (addr) {
|
||||
in_pcbdisconnect(inp);
|
||||
|
Loading…
Reference in New Issue
Block a user