diff options
author | ru <ru@FreeBSD.org> | 2001-07-19 07:10:30 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-07-19 07:10:30 +0000 |
commit | 82aace0e06638d7ac6780859c4447fce5a83d126 (patch) | |
tree | 531358e5f1585f1dcdb07f47a2491cec4df641be /sys/netinet/ip_output.c | |
parent | a17e15f9127f5a557e3c504e31e8ed24cbd6b50f (diff) | |
download | FreeBSD-src-82aace0e06638d7ac6780859c4447fce5a83d126.zip FreeBSD-src-82aace0e06638d7ac6780859c4447fce5a83d126.tar.gz |
Backout non-functional changes from revision 1.128.
Not objected to by: dcs
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index c8b3bfa..5d5b012 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -263,15 +263,13 @@ ip_output(m0, opt, ro, flags, imo) /* No Operation */ } else { /* - * If this is the case, we probably don't want - * to allocate a protocol-cloned route since we - * didn't get one from the ULP. This lets TCP - * do its thing, while not burdening forwarding - * or ICMP with the overhead of cloning a route. - * Of course, we still want to do any cloning - * requested by the link layer, as this is - * probably required in all cases for correct - * operation (as it is for ARP). + * If this is the case, we probably don't want to allocate + * a protocol-cloned route since we didn't get one from the + * ULP. This lets TCP do its thing, while not burdening + * forwarding or ICMP with the overhead of cloning a route. + * Of course, we still want to do any cloning requested by + * the link layer, as this is probably required in all cases + * for correct operation (as it is for ARP). */ if (ro->ro_rt == 0) rtalloc_ign(ro, RTF_PRCLONING); @@ -284,11 +282,9 @@ ip_output(m0, opt, ro, flags, imo) ifp = ro->ro_rt->rt_ifp; ro->ro_rt->rt_use++; if (ro->ro_rt->rt_flags & RTF_GATEWAY) - dst = (struct sockaddr_in *) - ro->ro_rt->rt_gateway; + dst = (struct sockaddr_in *)ro->ro_rt->rt_gateway; if (ro->ro_rt->rt_flags & RTF_HOST) - isbroadcast = (ro->ro_rt->rt_flags & - RTF_BROADCAST); + isbroadcast = (ro->ro_rt->rt_flags & RTF_BROADCAST); else isbroadcast = in_broadcast(dst->sin_addr, ifp); } |