freebsd-dev/sbin/pfctl
Kajetan Staszkiewicz 9f1beeaed4 pfctl: fix superblock printf format mismatch
It is impossible to compile pfctl with OPT_DEBUG due to integer width mismatch:

	/usr/home/kajetan.staszkiewicz/freebsd.git/sbin/pfctl/pfctl_optimize.c:1479:9: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat]
					    i - pf_rule_desc[closest].prf_off--- pfctl_optimize.o ---
	^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	/usr/home/kajetan.staszkiewicz/freebsd.git/sbin/pfctl/pfctl_optimize.c:52:44: note: expanded from macro 'DEBUG'
		printf("%s: " str "\n", __FUNCTION__ , ## v)
			      ~~~                         ^
	1 error generated.

Reviewed by:	kp
Obtained from:	OpenBSD (pfctl_optimize.c 1.15)
Differential Revision:	https://reviews.freebsd.org/D38918
2023-03-06 19:22:35 +01:00
..
tests pf: allow scrub rules without fragment reassemble 2022-11-28 20:19:05 +01:00
Makefile pfctl: Move ioctl abstraction functions into libpfctl 2021-04-10 11:16:02 +02:00
Makefile.depend
parse.y pf: drop support for fragment crop|drop-ovl 2022-11-28 20:19:12 +01:00
pf_print_state.c pfctl: cache getprotobynumber results 2021-07-01 21:31:45 +00:00
pf_ruleset.c pf: add anchor support for ether rules 2022-03-02 17:00:07 +01:00
pf.os Move pf.os to sbin/pfctl/ 2018-08-11 13:58:26 +00:00
pfctl_altq.c pfctl(8): Fix a typo in a source code comment 2022-07-16 13:48:30 +02:00
pfctl_ioctl.h pfctl: Move ioctl abstraction functions into libpfctl 2021-04-10 11:16:02 +02:00
pfctl_optimize.c pfctl: fix superblock printf format mismatch 2023-03-06 19:22:35 +01:00
pfctl_osfp.c
pfctl_parser.c pf: allow scrub rules without fragment reassemble 2022-11-28 20:19:05 +01:00
pfctl_parser.h pfctl: print ethernet rules when called with '-n' 2022-03-02 17:00:08 +01:00
pfctl_qstats.c Extended pf(4) ioctl interface and pfctl(8) to allow bandwidths of 2018-08-22 19:38:48 +00:00
pfctl_radix.c pfctl: Fix mismatch in array bounds for pfr_next_token(). 2022-10-03 16:10:41 -07:00
pfctl_table.c
pfctl.8 pfctl.8: Use the serial comma 2022-03-03 18:32:27 +01:00
pfctl.c pfctl: rule.label is a two-dimensional array 2023-01-24 07:46:46 +01:00
pfctl.h pf: add anchor support for ether rules 2022-03-02 17:00:07 +01:00