changeset 3680:773fb303fd36

6523130 IPfilter does not apply rules when network interfaces are plumbed after ipfilter starts
author yx160601
date Mon, 19 Feb 2007 05:28:47 -0800
parents a021f8a95be6
children d93cfde2f771
files usr/src/uts/common/inet/ipf/fil.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/inet/ipf/fil.c	Mon Feb 19 03:51:40 2007 -0800
+++ b/usr/src/uts/common/inet/ipf/fil.c	Mon Feb 19 05:28:47 2007 -0800
@@ -3687,8 +3687,6 @@
 		 * Lookup all the interface names that are part of the rule.
 		 */
 		for (i = 0; i < 4; i++) {
-			if ((ifp != NULL) && (fr->fr_ifas[i] != ifp))
-				continue;
 			fr->fr_ifas[i] = fr_ifsync(action, rv, ifname,
 						   fr->fr_ifnames[i],
 						   ifp, fr->fr_ifas[i],