Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/pf/sbin/pflogd Fix obviously broken condition.
details: https://anonhg.NetBSD.org/src/rev/bf8836910970
branches: trunk
changeset: 340236:bf8836910970
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Aug 28 12:17:41 2015 +0000
description:
Fix obviously broken condition.
diffstat:
dist/pf/sbin/pflogd/pflogd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 25eab62b5b4e -r bf8836910970 dist/pf/sbin/pflogd/pflogd.c
--- a/dist/pf/sbin/pflogd/pflogd.c Fri Aug 28 12:04:08 2015 +0000
+++ b/dist/pf/sbin/pflogd/pflogd.c Fri Aug 28 12:17:41 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pflogd.c,v 1.9 2012/02/29 23:42:28 joerg Exp $ */
+/* $NetBSD: pflogd.c,v 1.10 2015/08/28 12:17:41 joerg Exp $ */
/* $OpenBSD: pflogd.c,v 1.45 2007/06/06 14:11:26 henning Exp $ */
/*
@@ -729,7 +729,7 @@
np = pcap_dispatch(hpcap, PCAP_NUM_PKTS,
phandler, (u_char *)dpcap);
if (np < 0) {
- if (!if_exists(interface) == -1) {
+ if (!if_exists(interface)) {
logmsg(LOG_NOTICE, "interface %s went away",
interface);
ret = -1;
Home |
Main Index |
Thread Index |
Old Index