svn commit: r246524 - user/ae/inet6/sys/netinet6
Andrey V. Elsukov
ae at FreeBSD.org
Fri Feb 8 00:39:06 UTC 2013
Author: ae
Date: Fri Feb 8 00:39:05 2013
New Revision: 246524
URL: http://svnweb.freebsd.org/changeset/base/246524
Log:
Remove unneeded bzero() call.
Modified:
user/ae/inet6/sys/netinet6/in6_src.c
Modified: user/ae/inet6/sys/netinet6/in6_src.c
==============================================================================
--- user/ae/inet6/sys/netinet6/in6_src.c Fri Feb 8 00:37:20 2013 (r246523)
+++ user/ae/inet6/sys/netinet6/in6_src.c Fri Feb 8 00:39:05 2013 (r246524)
@@ -611,7 +611,6 @@ selectroute(struct sockaddr_in6 *dstsock
struct sockaddr_in6 *sa6;
/* No route yet, so try to acquire one */
- bzero(&ro->ro_dst, sizeof(struct sockaddr_in6));
sa6 = (struct sockaddr_in6 *)&ro->ro_dst;
*sa6 = *dstsock;
#ifdef RADIX_MPATH
More information about the svn-src-user
mailing list