Date: Tue, 14 Oct 2014 14:41:07 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273090 - head/sys/net Message-ID: <201410141441.s9EEf7sL070816@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410141441.s9EEf7sL070816>