opnsense-src/contrib/ipfilter/ipsend
Cy Schubert 6bb08afcf9 MFC 57785538c6 and
1e811efbc5:

57785538c6:

Simplify the FreeBSD check using __FreeBSD__ compiler macro.

Rather than rely on __FreeBSD_version, defined in sys/param.h, use
__FreeBSD__ defined by the compiler.

Reported by:	emaste
MFC after:	1 week

(cherry picked from commit 57785538c6)

1e811efbc5:

Fix non-IPv6 build post 57785538c6.

57785538c6 change the test for FreeBSD
from __FreeBSD_version to __FreeBSD__. However this test was performed
before sys/param.h was included, therefore __FreeBSD_version was never
defined. As the test was never true opt_random_ip_id.h was never included.

Submitted by:	bdragon
Reported by:	bdragon

(cherry picked from commit 1e811efbc5)
2021-02-15 16:40:50 -08:00
..
44arp.c ipfilter #ifdef cleanup. 2019-02-03 05:25:49 +00:00
arp.c Continued ipfilter #ifdef cleanup. The r343701 log entry contains a 2020-07-29 19:36:24 +00:00
Crashable
dlcommon.c ipfilter #ifdef cleanup. 2019-02-03 05:25:49 +00:00
dltest.h
ip.c ipfilter #ifdef cleanup. 2019-02-03 05:25:49 +00:00
ipresend.1
ipresend.c MFC 4cd1807c7d: 2021-02-15 16:40:48 -08:00
ipsend.1
ipsend.5
ipsend.c MFC 4cd1807c7d: 2021-02-15 16:40:48 -08:00
ipsend.h MFC 4cd1807c7d: 2021-02-15 16:40:48 -08:00
ipsopt.c MFC: 83edbc3cb5 2021-01-30 20:28:06 -08:00
iptest.1
iptest.c MFC 4cd1807c7d: 2021-02-15 16:40:48 -08:00
iptests.c Continuing the effort started in r343701, #ifdef cleanup, remove 2020-09-27 18:39:09 +00:00
Makefile
resend.c MFC 4cd1807c7d: 2021-02-15 16:40:48 -08:00
sbpf.c MFC 57785538c6 and 2021-02-15 16:40:50 -08:00
sdlpi.c ipfilter #ifdef cleanup. 2019-02-03 05:25:49 +00:00
snit.c
sock.c MFC 57785538c6 and 2021-02-15 16:40:50 -08:00
sockraw.c