diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-24 19:08:19 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-24 14:48:35 +0200 |
commit | f5a31ee94c37f92729d458335705f5befa168151 (patch) | |
tree | 6710d5df183469d10d69c71e1d13ee04f01ba6ae /port_fwd.h | |
parent | 1467a35b5af93a5f7c6678e1c6a8d9b4c191160c (diff) | |
download | passt-f5a31ee94c37f92729d458335705f5befa168151.tar passt-f5a31ee94c37f92729d458335705f5befa168151.tar.gz passt-f5a31ee94c37f92729d458335705f5befa168151.tar.bz2 passt-f5a31ee94c37f92729d458335705f5befa168151.tar.lz passt-f5a31ee94c37f92729d458335705f5befa168151.tar.xz passt-f5a31ee94c37f92729d458335705f5befa168151.tar.zst passt-f5a31ee94c37f92729d458335705f5befa168151.zip |
Don't use indirect remap functions for conf_ports()
Now that we've delayed initialization of the UDP specific "reverse" map
until udp_init(), the only difference between the various 'remap' functions
used in conf_ports() is which array they target. So, simplify by open
coding the logic into conf_ports() with a pointer to the correct mapping
array.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'port_fwd.h')
0 files changed, 0 insertions, 0 deletions