Date: Sat, 29 Aug 2015 13:35:34 +0000 (UTC) From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r287290 - projects/routing/sys/netinet Message-ID: <201508291335.t7TDZYV4027676@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508291335.t7TDZYV4027676>