* [PATCH lnf-conntrack] conntrack: dccp print function should use dccp state
@ 2020-08-13 17:06 Florian Westphal
2020-08-14 9:56 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Florian Westphal @ 2020-08-13 17:06 UTC (permalink / raw)
To: netfilter-devel; +Cc: Florian Westphal
Found while reading code, compile tested only.
Signed-off-by: Florian Westphal <fw@strlen.de>
---
src/conntrack/snprintf_default.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/conntrack/snprintf_default.c b/src/conntrack/snprintf_default.c
index 06466b115870..e48f06e5db59 100644
--- a/src/conntrack/snprintf_default.c
+++ b/src/conntrack/snprintf_default.c
@@ -62,8 +62,8 @@ static int __snprintf_protoinfo_dccp(char *buf,
{
return snprintf(buf, len, "%s ",
ct->protoinfo.dccp.state < DCCP_CONNTRACK_MAX ?
- sctp_states[ct->protoinfo.dccp.state] :
- sctp_states[DCCP_CONNTRACK_NONE]);
+ dccp_states[ct->protoinfo.dccp.state] :
+ dccp_states[DCCP_CONNTRACK_NONE]);
}
static int __snprintf_address_ipv4(char *buf,
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH lnf-conntrack] conntrack: dccp print function should use dccp state
2020-08-13 17:06 [PATCH lnf-conntrack] conntrack: dccp print function should use dccp state Florian Westphal
@ 2020-08-14 9:56 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2020-08-14 9:56 UTC (permalink / raw)
To: Florian Westphal; +Cc: netfilter-devel
On Thu, Aug 13, 2020 at 07:06:17PM +0200, Florian Westphal wrote:
> Found while reading code, compile tested only.
>
> Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Pablo Neira Ayuso <pablo@netfilter.org>
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-14 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-13 17:06 [PATCH lnf-conntrack] conntrack: dccp print function should use dccp state Florian Westphal
2020-08-14 9:56 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.