aboutgitcodebugslistschat
path: root/pcap.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-02-28 16:39:27 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-02-29 05:41:01 +0100
commitdeea5a84373169a2886bbeaf674a4ebb864ba2ac (patch)
treeaa9182e005592bbba5d1a751aeaf764c6b6b9d17 /pcap.c
parentbc2d0d381c1d7c0708eda11935b040662e44d2a4 (diff)
downloadpasst-deea5a84373169a2886bbeaf674a4ebb864ba2ac.tar
passt-deea5a84373169a2886bbeaf674a4ebb864ba2ac.tar.gz
passt-deea5a84373169a2886bbeaf674a4ebb864ba2ac.tar.bz2
passt-deea5a84373169a2886bbeaf674a4ebb864ba2ac.tar.lz
passt-deea5a84373169a2886bbeaf674a4ebb864ba2ac.tar.xz
passt-deea5a84373169a2886bbeaf674a4ebb864ba2ac.tar.zst
passt-deea5a84373169a2886bbeaf674a4ebb864ba2ac.zip
udp: Small streamline to udp_update_hdr4()
Streamline the logic here slightly, by introducing a 'src' temporary for brevity. We also transform the logic for setting/clearing PORT_LOOPBACK. This makes udp_update_hdr4() more closely match the corresponding logic from udp_update_udp6(). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pcap.c')
0 files changed, 0 insertions, 0 deletions