diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-02-28 22:25:19 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-02-29 09:48:24 +0100 |
commit | 10376e7a2f3780a3591d70da2f7db9b3367e9222 (patch) | |
tree | e3ed1f82623ddd4aa20b3b8015ce93a1329982a7 | |
parent | f15be719b370ab694b933ab7ceb7fc3481687284 (diff) | |
download | passt-10376e7a2f3780a3591d70da2f7db9b3367e9222.tar passt-10376e7a2f3780a3591d70da2f7db9b3367e9222.tar.gz passt-10376e7a2f3780a3591d70da2f7db9b3367e9222.tar.bz2 passt-10376e7a2f3780a3591d70da2f7db9b3367e9222.tar.lz passt-10376e7a2f3780a3591d70da2f7db9b3367e9222.tar.xz passt-10376e7a2f3780a3591d70da2f7db9b3367e9222.tar.zst passt-10376e7a2f3780a3591d70da2f7db9b3367e9222.zip |
port_fwd: Fix copypasta error in port_fwd_scan_udp() comments
port_fwd_scan_udp() handles UDP, as the name suggests, but its
function comment has the wrong function name and references TCP, due
to a bad copy-paste from port_fwd_scan_tcp().
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | port_fwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ void port_fwd_scan_tcp(struct port_fwd *fwd, const struct port_fwd *rev) } /** - * port_fwd_scan_tcp() - Scan /proc to update TCP forwarding map + * port_fwd_scan_udp() - Scan /proc to update UDP forwarding map * @fwd: Forwarding information to update * @rev: Forwarding information for the reverse direction * @tcp_fwd: Corresponding TCP forwarding information |