aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-03-11 23:03:09 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-03-11 22:11:30 +0100
commitd30e0b7699dde95c337a391bb991ac800d059e13 (patch)
tree20add322702725383f07d79597ac1148b3226734
parent4fa0076956fc87146b530e27f1129acfaed70025 (diff)
downloadpasst-d30e0b7699dde95c337a391bb991ac800d059e13.tar
passt-d30e0b7699dde95c337a391bb991ac800d059e13.tar.gz
passt-d30e0b7699dde95c337a391bb991ac800d059e13.tar.bz2
passt-d30e0b7699dde95c337a391bb991ac800d059e13.tar.lz
passt-d30e0b7699dde95c337a391bb991ac800d059e13.tar.xz
passt-d30e0b7699dde95c337a391bb991ac800d059e13.tar.zst
passt-d30e0b7699dde95c337a391bb991ac800d059e13.zip
Fix misnamed field in struct ctx comments
@no_udp wasn't listed, but @no_tcp was listed twice. Fixes: 1e49d194d017 ("passt, pasta: Introduce command-line options and port re-mapping") Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--passt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/passt.h b/passt.h
index 299185b..0548dac 100644
--- a/passt.h
+++ b/passt.h
@@ -186,7 +186,7 @@ struct ip6_ctx {
* @pasta_conf_ns: Configure namespace after creating it
* @no_tcp: Disable TCP operation
* @tcp: Context for TCP protocol handler
- * @no_tcp: Disable UDP operation
+ * @no_udp: Disable UDP operation
* @udp: Context for UDP protocol handler
* @no_icmp: Disable ICMP operation
* @icmp: Context for ICMP protocol handler