summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw
diff options
context:
space:
mode:
authormelifaro <melifaro@FreeBSD.org>2014-10-05 10:20:47 +0000
committermelifaro <melifaro@FreeBSD.org>2014-10-05 10:20:47 +0000
commit6d4e1e4f7b52f1c8a619c0543a842d2c32fc4b08 (patch)
tree3711aadff9b692fadb3429ae21287226f4879fe0 /sbin/ipfw
parent94289f5d3934e2c58e0829ac8c967da579783e2b (diff)
downloadFreeBSD-src-6d4e1e4f7b52f1c8a619c0543a842d2c32fc4b08.zip
FreeBSD-src-6d4e1e4f7b52f1c8a619c0543a842d2c32fc4b08.tar.gz
Fix tracked interface list retrieval.
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipfw2.c2
1 files changed, 1 insertions, 1 deletions
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);
}
OpenPOWER on IntegriCloud