diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-11-07 12:40:13 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-11-07 09:53:35 +0100 |
commit | 0d73fa222534954af252a46ed5f7b6e95af21714 (patch) | |
tree | 16bd0b8c8c5ae5f0e8fe5e4973f1a8b3ececc47c /test | |
parent | c09d0d0f6085944a7b0e58434148702b2d5f5e9a (diff) | |
download | passt-0d73fa222534954af252a46ed5f7b6e95af21714.tar passt-0d73fa222534954af252a46ed5f7b6e95af21714.tar.gz passt-0d73fa222534954af252a46ed5f7b6e95af21714.tar.bz2 passt-0d73fa222534954af252a46ed5f7b6e95af21714.tar.lz passt-0d73fa222534954af252a46ed5f7b6e95af21714.tar.xz passt-0d73fa222534954af252a46ed5f7b6e95af21714.tar.zst passt-0d73fa222534954af252a46ed5f7b6e95af21714.zip |
udp: Clean up ref initialisation in udp_sock_init()
udp_sock_init() has a number of paths that initialise uref differently.
However some of the fields are initialised the same way in all of them.
Move those fields into the original initialiser to save a few lines.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions