diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-24 19:08:20 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-24 14:48:35 +0200 |
commit | 0d1886dca01df2d12697422c09a8d8f76dff0400 (patch) | |
tree | c85ad41a4e2bc40281335caa7c3293b53111d37e /port_fwd.h | |
parent | f5a31ee94c37f92729d458335705f5befa168151 (diff) | |
download | passt-0d1886dca01df2d12697422c09a8d8f76dff0400.tar passt-0d1886dca01df2d12697422c09a8d8f76dff0400.tar.gz passt-0d1886dca01df2d12697422c09a8d8f76dff0400.tar.bz2 passt-0d1886dca01df2d12697422c09a8d8f76dff0400.tar.lz passt-0d1886dca01df2d12697422c09a8d8f76dff0400.tar.xz passt-0d1886dca01df2d12697422c09a8d8f76dff0400.tar.zst passt-0d1886dca01df2d12697422c09a8d8f76dff0400.zip |
Pass entire port forwarding configuration substructure to conf_ports()
conf_ports() switches on the optname argument to select the target array
for several updates. Now that all these maps are in a common structure, we
can simplify by just passing in a pointer to the whole struct port_fwd to
update.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'port_fwd.h')
0 files changed, 0 insertions, 0 deletions