diff options
author | Philip Craig <philipc@snapgear.com> | 2006-05-19 13:15:47 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-05-19 13:15:47 +0400 |
commit | 5c170a09d9092e63af1658179f29867d32d56b55 (patch) | |
tree | 4263c58f0e0e89e21412f67d84761971dbbdfeca /net/bridge/netfilter | |
parent | 493e2428aa1db0e592736ad15885c6ed1e81b8af (diff) | |
download | linux-5c170a09d9092e63af1658179f29867d32d56b55.tar.xz |
[NETFILTER]: fix format specifier for netfilter log targets
The prefix argument for nf_log_packet is a format specifier,
so don't pass the user defined string directly to it.
Signed-off-by: Philip Craig <philipc@snapgear.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/netfilter')
-rw-r--r-- | net/bridge/netfilter/ebt_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebt_log.c b/net/bridge/netfilter/ebt_log.c index d159c92cca84..466ed3440b74 100644 --- a/net/bridge/netfilter/ebt_log.c +++ b/net/bridge/netfilter/ebt_log.c @@ -168,7 +168,7 @@ static void ebt_log(const struct sk_buff *skb, unsigned int hooknr, if (info->bitmask & EBT_LOG_NFLOG) nf_log_packet(PF_BRIDGE, hooknr, skb, in, out, &li, - info->prefix); + "%s", info->prefix); else ebt_log_packet(PF_BRIDGE, hooknr, skb, in, out, &li, info->prefix); |