From 6d4e1e4f7b52f1c8a619c0543a842d2c32fc4b08 Mon Sep 17 00:00:00 2001 From: melifaro Date: Sun, 5 Oct 2014 10:20:47 +0000 Subject: Fix tracked interface list retrieval. --- sbin/ipfw/ipfw2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin') diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index ad2ae8b..a3645db 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -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); } -- cgit v1.1