From 4deb9c92873c91bdd9782bde111c78679c71b9c4 Mon Sep 17 00:00:00 2001 From: "Alexander V. Chernikov" Date: Sun, 5 Oct 2014 10:20:47 +0000 Subject: [PATCH] Fix tracked interface list retrieval. --- sbin/ipfw/ipfw2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index ad2ae8bd90c3..a3645dbdcd12 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); }