svn commit: r287290 - projects/routing/sys/netinet
Alexander V. Chernikov
melifaro at FreeBSD.org
Sat Aug 29 13:35:34 UTC 2015
Author: melifaro
Date: Sat Aug 29 13:35:33 2015
New Revision: 287290
URL: https://svnweb.freebsd.org/changeset/base/287290
Log:
Do not send everything to default gateway.
Modified:
projects/routing/sys/netinet/ip_output.c
Modified: projects/routing/sys/netinet/ip_output.c
==============================================================================
--- projects/routing/sys/netinet/ip_output.c Sat Aug 29 11:21:20 2015 (r287289)
+++ projects/routing/sys/netinet/ip_output.c Sat Aug 29 13:35:33 2015 (r287290)
@@ -291,8 +291,7 @@ ip_output(struct mbuf *m, struct mbuf *o
* we have GW info inside @nh.
*/
- /* Make compiler happy */
- dst.s_addr = INADDR_ANY;
+ dst = ip->ip_dst;
fibnum = (inp != NULL) ? inp->inp_inc.inc_fibnum : M_GETFIB(m);
again:
More information about the svn-src-projects
mailing list