Joe Perches
16af511a66
netfilter: log: Fix log-level processing
...
auto75914331@hushmail.com reports that iptables does not correctly
output the KERN_<level>.
$IPTABLES -A RULE_0_in -j LOG --log-level notice --log-prefix "DENY in: "
result with linux 3.6-rc5
Sep 12 06:37:29 xxxxx kernel: <5>DENY in: IN=eth0 OUT= MAC=.......
result with linux 3.5.3 and older:
Sep 9 10:43:01 xxxxx kernel: DENY in: IN=eth0 OUT= MAC......
commit 04d2c8c83d0
("printk: convert the format for KERN_<LEVEL> to a 2 byte pattern")
updated the syslog header style but did not update netfilter uses.
Do so.
Use KERN_SOH and string concatenation instead of "%c" KERN_SOH_ASCII
as suggested by Eric Dumazet.
Signed-off-by: Joe Perches <joe@perches.com>
cc: auto75914331@hushmail.com
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2012-09-12 17:17:35 +02:00
..
2012-06-29 13:04:04 +02:00
2012-08-30 03:27:19 +02:00
2012-06-22 02:49:52 +02:00
2012-06-19 04:44:57 +02:00
2012-06-19 04:44:57 +02:00
2012-04-20 21:22:30 -04:00
2012-05-15 13:45:03 -04:00
2011-01-18 18:12:24 +01:00
2012-08-31 15:50:28 +02:00
2012-05-08 19:17:23 +02:00
2012-08-16 11:49:53 +02:00
2012-06-16 15:08:49 +02:00
2012-06-16 15:08:55 +02:00
2011-04-04 15:21:02 +02:00
2012-06-16 15:23:35 -07:00
2008-01-31 19:28:07 -08:00
2012-06-19 01:24:52 +02:00
2012-06-16 15:08:39 +02:00
2008-04-14 11:15:52 +02:00
2011-01-18 18:12:24 +01:00
2012-08-30 03:28:22 +02:00
2012-06-16 15:08:55 +02:00
2012-06-27 19:14:31 +02:00
2012-07-04 19:37:22 +02:00
2012-06-27 18:31:14 +02:00
2012-06-27 19:13:31 +02:00
2012-09-09 22:13:49 +02:00
2012-07-04 19:37:22 +02:00
2012-06-27 19:12:52 +02:00
2012-07-04 19:37:22 +02:00
2012-06-16 15:08:55 +02:00
2012-08-10 11:53:11 +02:00
2011-01-18 18:12:24 +01:00
2012-04-20 21:22:30 -04:00
2012-06-16 15:08:39 +02:00
2012-03-07 17:41:25 +01:00
2012-04-20 21:22:30 -04:00
2010-05-13 15:02:08 +02:00
2012-04-20 21:22:30 -04:00
2012-02-09 20:47:53 +01:00
2009-09-30 16:12:20 -07:00
2011-02-17 11:32:38 +01:00
2012-04-01 18:46:29 -04:00
2012-06-16 15:40:02 +02:00
2012-06-07 14:58:41 +02:00
2012-09-06 14:28:18 +02:00
2012-07-04 19:51:50 +02:00
2012-06-23 02:13:38 +02:00
2012-07-07 16:18:50 -07:00
2011-10-31 19:30:28 -04:00
2011-12-16 15:49:52 -05:00
2011-12-03 09:35:10 -08:00
2010-07-15 17:20:46 +02:00
2010-11-15 13:57:56 +01:00
2010-06-08 16:09:52 +02:00
2010-05-11 18:33:37 +02:00
2011-12-25 02:21:45 -05:00
2012-06-07 14:58:39 +02:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:31:17 +02:00
2011-05-10 12:13:36 +02:00
2011-01-18 06:33:54 +01:00
2012-06-16 15:08:55 +02:00
2010-05-11 18:35:27 +02:00
2011-02-03 00:05:43 +01:00
2010-05-11 18:33:37 +02:00
2011-05-10 10:00:21 +02:00
2011-12-27 20:45:25 +01:00
2010-05-11 18:35:27 +02:00
2012-05-17 00:56:31 +02:00
2010-05-11 18:33:37 +02:00
2011-07-01 16:11:15 -07:00
2011-07-01 16:11:15 -07:00
2012-06-07 14:53:01 +02:00
2011-11-01 09:19:49 +01:00
2011-02-04 14:28:58 -08:00
2011-01-13 10:30:27 +09:00
2011-01-18 06:33:54 +01:00
2010-05-11 18:33:37 +02:00
2012-05-09 12:54:06 +02:00
2012-09-12 17:17:35 +02:00
2012-05-09 20:49:18 -04:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:35:27 +02:00
2011-12-25 02:43:17 +01:00
2010-05-11 18:31:17 +02:00
2012-06-07 14:58:42 +02:00
2010-06-08 16:09:52 +02:00
2011-05-07 22:51:12 -07:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:33:37 +02:00
2011-10-31 19:30:28 -04:00
2011-07-29 16:24:46 +02:00
2011-07-20 14:10:19 -07:00
2010-05-11 18:33:37 +02:00
2012-06-07 14:58:42 +02:00
2010-02-10 17:50:47 +01:00
2010-06-09 14:47:40 +02:00
2010-10-21 10:12:48 +11:00
2012-07-09 10:53:04 +02:00
2012-05-09 12:53:47 +02:00
2010-06-08 16:09:52 +02:00
2011-10-31 19:30:28 -04:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:35:27 +02:00
2012-05-15 13:45:03 -04:00
2011-12-16 15:49:52 -05:00
2010-05-11 18:35:27 +02:00
2012-05-14 14:15:31 -07:00
2010-05-13 15:16:27 +02:00
2012-07-10 23:13:45 -07:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:33:37 +02:00