summaryrefslogtreecommitdiff
path: root/sys/netinet/fil.c
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-05-13 19:49:33 +0000
committerdm <dm@cvs.openbsd.org>1996-05-13 19:49:33 +0000
commit1224bac5b15e609f7a9a290db76f75adc57a6bd0 (patch)
tree40f2f3c6ce21cb8ad0fc7e74fe4ebc2b185a2de5 /sys/netinet/fil.c
parent417697b9a38e31c0c0ed13d77c2f1d8add24c300 (diff)
fix return-rst
Diffstat (limited to 'sys/netinet/fil.c')
-rw-r--r--sys/netinet/fil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/fil.c b/sys/netinet/fil.c
index f6b57de9870..f84114c3239 100644
--- a/sys/netinet/fil.c
+++ b/sys/netinet/fil.c
@@ -639,7 +639,7 @@ int out;
frstats[0].fr_ret++;
} else if (pass & FR_RETRST &&
- (fin->fin_fi.fi_fl & FI_SHORT)) {
+ !(fin->fin_fi.fi_fl & FI_SHORT)) {
if (SEND_RESET(ip, qif, q) == 0)
frstats[1].fr_ret++;
}