1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00
freebsd/contrib/pf
Dimitry Andric f7862a87d0 Fix a clang 3.8.0 warning in pflogd.c:
contrib/pf/pflogd/pflogd.c:769:8: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
                        if (!if_exists(interface) == -1) {
                            ^                     ~~

The if_exists() function does not return -1, and even if it did, it
would not be the correct way to check.  Just ditch the == -1 instead.

Obtained from:	OpenBSD's pflogd.c 1.49
MFC after:	3 days
2015-12-31 22:45:00 +00:00
..
authpf Ressurect the local change documenting 2014-01-29 19:28:52 +00:00
ftp-proxy Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
libevent Flatten out the pf userland vendor area 2008-12-10 19:31:42 +00:00
pflogd Fix a clang 3.8.0 warning in pflogd.c: 2015-12-31 22:45:00 +00:00
tftp-proxy Flatten out the pf userland vendor area 2008-12-10 19:31:42 +00:00