Commit f9ea7e34 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Fix the logging of warnings during applying tcp_fastopen and accept_filter params

These were logged with a vxid==socket, which is wrong (leftover from old
logging). They are now logged with vxid==0, which is for non-transactional
messages.
parent 4a095b75
...@@ -627,7 +627,7 @@ ccf_start(struct cli *cli, const char * const *av, void *priv) ...@@ -627,7 +627,7 @@ ccf_start(struct cli *cli, const char * const *av, void *priv)
int i; int i;
i = VTCP_fastopen(ls->sock, cache_param->listen_depth); i = VTCP_fastopen(ls->sock, cache_param->listen_depth);
if (i) if (i)
VSL(SLT_Error, ls->sock, VSL(SLT_Error, 0,
"Kernel TCP Fast Open: sock=%d, ret=%d %s", "Kernel TCP Fast Open: sock=%d, ret=%d %s",
ls->sock, i, strerror(errno)); ls->sock, i, strerror(errno));
} }
...@@ -637,7 +637,7 @@ ccf_start(struct cli *cli, const char * const *av, void *priv) ...@@ -637,7 +637,7 @@ ccf_start(struct cli *cli, const char * const *av, void *priv)
int i; int i;
i = VTCP_filter_http(ls->sock); i = VTCP_filter_http(ls->sock);
if (i) if (i)
VSL(SLT_Error, ls->sock, VSL(SLT_Error, 0,
"Kernel filtering: sock=%d, ret=%d %s", "Kernel filtering: sock=%d, ret=%d %s",
ls->sock, i, strerror(errno)); ls->sock, i, strerror(errno));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment