aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-09-27 19:28:28 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-09-27 19:28:28 +0000
commit47505890d64c25bb963643088f66042269c30c53 (patch)
tree1ccf28f8424a304459e7a70ce0467e046f6d2d2d /sys/netinet/ip_fw2.c
parentfd4cdfbf46f179597a37642b711793f66c6576d1 (diff)
downloadsrc-47505890d64c25bb963643088f66042269c30c53.tar.gz
src-47505890d64c25bb963643088f66042269c30c53.zip
Notes
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index f9325bd7dd6b..00ab781ff77b 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -1998,7 +1998,8 @@ check_uidgid(ipfw_insn_u32 *insn, int proto, struct ifnet *oif,
if (inp->inp_socket != NULL) {
fill_ugid_cache(inp, ugp);
*ugid_lookupp = 1;
- }
+ } else
+ *ugid_lookupp = -1;
}
/*
* If we have already been here and the packet has no