aboutsummaryrefslogtreecommitdiff
path: root/net/netlabel/netlabel_calipso.c
diff options
context:
space:
mode:
authorThomas Jarosch2019-08-21 16:14:28 +0200
committerPablo Neira Ayuso2019-08-27 13:01:05 +0200
commit3a069024d371125227de3ac8fa74223fcf473520 (patch)
tree3d488e7595c0def921e70af3fdeafdacdf6c1466 /net/netlabel/netlabel_calipso.c
parent3cf2f450fff304be9cf4868bf0df17f253bc5b1c (diff)
netfilter: nf_conntrack_ftp: Fix debug output
The find_pattern() debug output was printing the 'skip' character. This can be a NULL-byte and messes up further pr_debug() output. Output without the fix: kernel: nf_conntrack_ftp: Pattern matches! kernel: nf_conntrack_ftp: Skipped up to `<7>nf_conntrack_ftp: find_pattern `PORT': dlen = 8 kernel: nf_conntrack_ftp: find_pattern `EPRT': dlen = 8 Output with the fix: kernel: nf_conntrack_ftp: Pattern matches! kernel: nf_conntrack_ftp: Skipped up to 0x0 delimiter! kernel: nf_conntrack_ftp: Match succeeded! kernel: nf_conntrack_ftp: conntrack_ftp: match `172,17,0,100,200,207' (20 bytes at 4150681645) kernel: nf_conntrack_ftp: find_pattern `PORT': dlen = 8 Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netlabel/netlabel_calipso.c')
0 files changed, 0 insertions, 0 deletions