diff options
-rw-r--r-- | usr/src/uts/common/inet/ipf/fil.c | 2 |
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; } |