diff options
-rw-r--r-- | net/netfilter/nfnetlink_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink_log.c b/net/netfilter/nfnetlink_log.c index 91a0972ec117..12f92e235a13 100644 --- a/net/netfilter/nfnetlink_log.c +++ b/net/netfilter/nfnetlink_log.c | |||
@@ -615,7 +615,7 @@ nfulnl_log_packet(unsigned int pf, | |||
615 | 615 | ||
616 | plen = 0; | 616 | plen = 0; |
617 | if (prefix) | 617 | if (prefix) |
618 | plen = strlen(prefix); | 618 | plen = strlen(prefix) + 1; |
619 | 619 | ||
620 | /* all macros expand to constant values at compile time */ | 620 | /* all macros expand to constant values at compile time */ |
621 | /* FIXME: do we want to make the size calculation conditional based on | 621 | /* FIXME: do we want to make the size calculation conditional based on |