Date: Mon, 21 Nov 2011 20:07:13 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r227801 - head/sys/netinet Message-ID: <201111212007.pALK7D9s057802@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Mon Nov 21 20:07:12 2011 New Revision: 227801 URL: http://svn.freebsd.org/changeset/base/227801 Log: This check isn't needed now, sanity checking done in the beginning. Missed it in last commit. Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c ============================================================================== --- head/sys/netinet/in.c Mon Nov 21 18:04:37 2011 (r227800) +++ head/sys/netinet/in.c Mon Nov 21 20:07:12 2011 (r227801) @@ -569,8 +569,7 @@ in_control(struct socket *so, u_long cmd ia->ia_dstaddr = ifra->ifra_dstaddr; maskIsNew = 1; /* We lie; but the effect's the same */ } - if (ifra->ifra_addr.sin_family == AF_INET && - (hostIsNew || maskIsNew)) + if (hostIsNew || maskIsNew) error = in_ifinit(ifp, ia, &ifra->ifra_addr, 0); if (error != 0 && iaIsNew) break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111212007.pALK7D9s057802>