]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove more wider memset() over control now that it's handled below (#38621)
authorMukund Sivaraman <muks@isc.org>
Mon, 2 Mar 2015 07:22:41 +0000 (12:52 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 2 Mar 2015 07:22:41 +0000 (12:52 +0530)
lib/isc/unix/net.c

index 2a9d92fa11ca5a0127fc2623e3e05249642a5964..0fa038885ad2e08056f500efa112049cf0ee2ab4 100644 (file)
@@ -519,8 +519,6 @@ cmsgsend(int s, int level, int type, struct addrinfo *res) {
                return (ISC_FALSE);
        }
 
-       memset(&control, 0, sizeof(control));
-
        iovec.iov_base = buf;
        iovec.iov_len = sizeof(buf);