Fix tracked interface list retrieval.

This commit is contained in:
melifaro 2014-10-05 10:20:47 +00:00
parent 94289f5d39
commit 6d4e1e4f7b

View File

@ -4860,7 +4860,7 @@ ipfw_get_tracked_ifaces(ipfw_obj_lheader **polh)
memset(&req, 0, sizeof(req));
sz = sizeof(req);
if (do_get3(IP_FW_XIFLIST, &olh->opheader, &sz) != 0) {
if (do_get3(IP_FW_XIFLIST, &req.opheader, &sz) != 0) {
if (errno != ENOMEM)
return (errno);
}