aboutgitcodebugslistschat
path: root/qrap.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-10-19 11:43:57 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-10-19 03:35:00 +0200
commitc6845f60a062b69d1d4e64db1b6d0f1b6ac75d43 (patch)
treeb0fec8679576b5f4be1132374ab582d1a568c913 /qrap.c
parent2dbc622f547cc4d150c8c6a1b1ecaf47aba2baca (diff)
downloadpasst-c6845f60a062b69d1d4e64db1b6d0f1b6ac75d43.tar
passt-c6845f60a062b69d1d4e64db1b6d0f1b6ac75d43.tar.gz
passt-c6845f60a062b69d1d4e64db1b6d0f1b6ac75d43.tar.bz2
passt-c6845f60a062b69d1d4e64db1b6d0f1b6ac75d43.tar.lz
passt-c6845f60a062b69d1d4e64db1b6d0f1b6ac75d43.tar.xz
passt-c6845f60a062b69d1d4e64db1b6d0f1b6ac75d43.tar.zst
passt-c6845f60a062b69d1d4e64db1b6d0f1b6ac75d43.zip
dhcp: Use tap_udp4_send() helper in dhcp()
The IPv4 specific dhcp() manually constructs L2 and IP headers to send its DHCP reply packet, unlike its IPv6 equivalent in dhcpv6.c which uses the tap_udp6_send() helper. Now that we've broaded the parameters to tap_udp4_send() we can use it in dhcp() to avoid some duplicated logic. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'qrap.c')
0 files changed, 0 insertions, 0 deletions