svn commit: r272563 - projects/ipfw/sbin/ipfw

Alexander V. Chernikov melifaro at FreeBSD.org
Sun Oct 5 10:20:48 UTC 2014


Author: melifaro
Date: Sun Oct  5 10:20:47 2014
New Revision: 272563
URL: https://svnweb.freebsd.org/changeset/base/272563

Log:
  Fix tracked interface list retrieval.

Modified:
  projects/ipfw/sbin/ipfw/ipfw2.c

Modified: projects/ipfw/sbin/ipfw/ipfw2.c
==============================================================================
--- projects/ipfw/sbin/ipfw/ipfw2.c	Sun Oct  5 07:29:50 2014	(r272562)
+++ projects/ipfw/sbin/ipfw/ipfw2.c	Sun Oct  5 10:20:47 2014	(r272563)
@@ -4860,7 +4860,7 @@ ipfw_get_tracked_ifaces(ipfw_obj_lheader
 	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);
 	}


More information about the svn-src-projects mailing list