From owner-svn-src-all@FreeBSD.ORG Tue Oct 14 14:41:07 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94C59319; Tue, 14 Oct 2014 14:41:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 808EB6D5; Tue, 14 Oct 2014 14:41:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9EEf7Hb070817; Tue, 14 Oct 2014 14:41:07 GMT (envelope-from ae@FreeBSD.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9EEf7sL070816; Tue, 14 Oct 2014 14:41:07 GMT (envelope-from ae@FreeBSD.org) Message-Id: <201410141441.s9EEf7sL070816@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ae set sender to ae@FreeBSD.org using -f From: "Andrey V. Elsukov" Date: Tue, 14 Oct 2014 14:41:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273090 - head/sys/net X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2014 14:41:07 -0000 Author: ae Date: Tue Oct 14 14:41:06 2014 New Revision: 273090 URL: https://svnweb.freebsd.org/changeset/base/273090 Log: Move memset under ifdef INET6. MFH: 1 month Reported by: bz Modified: head/sys/net/if_gif.c Modified: head/sys/net/if_gif.c ============================================================================== --- head/sys/net/if_gif.c Tue Oct 14 14:32:58 2014 (r273089) +++ head/sys/net/if_gif.c Tue Oct 14 14:41:06 2014 (r273090) @@ -918,9 +918,9 @@ gif_ioctl(struct ifnet *ifp, u_long cmd, (struct sockaddr *)sin6); if (error == 0) error = sa6_recoverscope(sin6); -#endif if (error != 0) memset(sin6, 0, sizeof(*sin6)); +#endif } break; case GIFGOPTS: