diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-31 22:52:11 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-31 22:52:11 +0000 |
| commit | 89d224ab484e678a190a5b565a68a4a8fd1fed92 (patch) | |
| tree | d062c6e9144dffb4aca190529ec4a347b474495d | |
| parent | 381fba853708b10134bef02ea2fb4efd232e5ed4 (diff) | |
| parent | f7862a87d0e5e05024fe0399f091c616c748cccc (diff) | |
Notes
| -rw-r--r-- | contrib/pf/pflogd/pflogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pf/pflogd/pflogd.c b/contrib/pf/pflogd/pflogd.c index 2fc2338da4be3..de8d4acfa5853 100644 --- a/contrib/pf/pflogd/pflogd.c +++ b/contrib/pf/pflogd/pflogd.c @@ -766,7 +766,7 @@ main(int argc, char **argv) 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; |
