summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoran207044 <none@none>2008-04-10 04:57:11 -0700
committeran207044 <none@none>2008-04-10 04:57:11 -0700
commit24ed9a9feb286185e97690c8f15a29eff678387f (patch)
treed4c7a0cd020412fc83876cec7a8b6b160ed980a3
parent31925ed2254d4e4e9ce3632df5ee99a1d9b3294c (diff)
downloadillumos-gate-24ed9a9feb286185e97690c8f15a29eff678387f.tar.gz
6653172 "ifconfig plumb" interferes with IP filter rules
-rw-r--r--usr/src/uts/common/inet/ipf/fil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/ipf/fil.c b/usr/src/uts/common/inet/ipf/fil.c
index 8451f6f1b2..2ace8974fb 100644
--- a/usr/src/uts/common/inet/ipf/fil.c
+++ b/usr/src/uts/common/inet/ipf/fil.c
@@ -3645,7 +3645,7 @@ ipf_stack_t *ifs;
break;
case IPFSYNC_OLDIFP :
if (newifp == oldifp)
- rval = (void *)-1;
+ rval = (oldifp) ? (void *)-1 : NULL;
break;
}