diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-03-11 23:03:14 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-03-11 22:11:30 +0100 |
| commit | 1b32bfe181c7a22d22fbc9ba90b94c8234e15adc (patch) | |
| tree | cc5e734fa07aaa090db9a19f5ec2f9923219b528 /doc/platform-requirements/git: | |
| parent | ea239bf954bf016d7c8724fce7c7ae846e661124 (diff) | |
| download | passt-1b32bfe181c7a22d22fbc9ba90b94c8234e15adc.tar passt-1b32bfe181c7a22d22fbc9ba90b94c8234e15adc.tar.gz passt-1b32bfe181c7a22d22fbc9ba90b94c8234e15adc.tar.bz2 passt-1b32bfe181c7a22d22fbc9ba90b94c8234e15adc.tar.lz passt-1b32bfe181c7a22d22fbc9ba90b94c8234e15adc.tar.xz passt-1b32bfe181c7a22d22fbc9ba90b94c8234e15adc.tar.zst passt-1b32bfe181c7a22d22fbc9ba90b94c8234e15adc.zip | |
conf: Parse all forwarding options at the same time
We don't handle the -t and -u options in the main option parsing loop,
because they rely on some IP parameters already being finalised
(specifically, conf_ports() uses use ifi4 and ifi6 to determine if IP
versions are enabled). So, we parse them in a second pass through the
command line.
The -T and -U options are parsed in a third pass through the command line,
because they relied on setup of the guest namespace. However, since we
reworked their handling to use the forward table structure, that's no
longer the case. So, move their handling into the same loop as the -t
and -u options.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements/git:')
0 files changed, 0 insertions, 0 deletions
