aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-12-12 18:10:34 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-12-12 22:38:53 +0100
commit5be1a224d35991ac491e3da851e42c5965fbc5d7 (patch)
tree91d3a695affbd1b4462d8eaf5c1694c087c91607
parent87f1a917d881d0881d6db5fdc2345f345a0e30d1 (diff)
downloadpasst-5be1a224d35991ac491e3da851e42c5965fbc5d7.tar
passt-5be1a224d35991ac491e3da851e42c5965fbc5d7.tar.gz
passt-5be1a224d35991ac491e3da851e42c5965fbc5d7.tar.bz2
passt-5be1a224d35991ac491e3da851e42c5965fbc5d7.tar.lz
passt-5be1a224d35991ac491e3da851e42c5965fbc5d7.tar.xz
passt-5be1a224d35991ac491e3da851e42c5965fbc5d7.tar.zst
passt-5be1a224d35991ac491e3da851e42c5965fbc5d7.zip
tcp: Remove extra space from TCP_INFO debug messages (trivial)
Debug messages about which tcp_info fields are supported contained an extra space, always ending with " supported". Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp.c b/tcp.c
index 1711bcc..81bc114 100644
--- a/tcp.c
+++ b/tcp.c
@@ -2950,7 +2950,7 @@ int tcp_init(struct ctx *c)
tcp_info_size = tcp_probe_tcp_info();
#define dbg_tcpi(f_) debug("TCP_INFO tcpi_%s field%s supported", \
- STRINGIFY(f_), tcp_info_cap(f_) ? " " : " not ")
+ STRINGIFY(f_), tcp_info_cap(f_) ? "" : " not")
dbg_tcpi(snd_wnd);
dbg_tcpi(bytes_acked);
dbg_tcpi(min_rtt);