Remove duplicate memset in kernel_interface_operational on BSD.
Reported by janus.
@@ -311,7 +311,6 @@ kernel_interface_operational(const char *ifname, int ifindex)
if(s < 0)
return -1;
- memset(&req, 0, sizeof(req));
memset(&req, 0, sizeof(req));
strncpy(req.ifr_name, ifname, sizeof(req.ifr_name));
rc = ioctl(s, SIOCGIFFLAGS, &req);
