diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-03-11 23:03:13 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-03-11 22:11:30 +0100 |
| commit | ea239bf954bf016d7c8724fce7c7ae846e661124 (patch) | |
| tree | f860b4761892cf649dd2abb17aa66f681065d06f /doc/platform-requirements | |
| parent | ee0e20ebe3d689076701938a42f6d6f46d23f3af (diff) | |
| download | passt-ea239bf954bf016d7c8724fce7c7ae846e661124.tar passt-ea239bf954bf016d7c8724fce7c7ae846e661124.tar.gz passt-ea239bf954bf016d7c8724fce7c7ae846e661124.tar.bz2 passt-ea239bf954bf016d7c8724fce7c7ae846e661124.tar.lz passt-ea239bf954bf016d7c8724fce7c7ae846e661124.tar.xz passt-ea239bf954bf016d7c8724fce7c7ae846e661124.tar.zst passt-ea239bf954bf016d7c8724fce7c7ae846e661124.zip | |
conf: Don't defer handling of --dns option
For various reasons we make several passes through our command line options
in conf(). First there's the main pass, then some supplemental passes for
options that couldn't be handled in the initial pass.
The --dns / -D option is handled in the second pass since f6d5a5239264
("conf: Delay handling -D option until after addresses are configured").
The reason was that it called add_dns[46]() which relied on the gateway
address already being configured which needed the first pass to complete.
However, since 0b25cac94eca ("conf: Treat --dns addresses as guest visible
addresses") that reason no longer applies - add_dns[46]() do nothing but
update tables in a very simple way.
So, move the --dns handling back into the main parsing pass.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements')
0 files changed, 0 insertions, 0 deletions
