aboutgitcodebugslistschat
path: root/doc
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-04-10 11:02:54 +1000
committerStefano Brivio <sbrivio@redhat.com>2026-04-15 23:31:45 +0200
commit2093b3309a69a23ffdb0f29dd463e29827139b9f (patch)
treed9170c712206c637d0da2fb5f31a38699a954db5 /doc
parentf9d9926ea32c7eccce20a7aeb3c5a0c3dc258c28 (diff)
downloadpasst-2093b3309a69a23ffdb0f29dd463e29827139b9f.tar
passt-2093b3309a69a23ffdb0f29dd463e29827139b9f.tar.gz
passt-2093b3309a69a23ffdb0f29dd463e29827139b9f.tar.bz2
passt-2093b3309a69a23ffdb0f29dd463e29827139b9f.tar.lz
passt-2093b3309a69a23ffdb0f29dd463e29827139b9f.tar.xz
passt-2093b3309a69a23ffdb0f29dd463e29827139b9f.tar.zst
passt-2093b3309a69a23ffdb0f29dd463e29827139b9f.zip
conf: Pass protocol explicitly to conf_ports_range_except()
Currently conf_ports_range_except() deduces the protocol to use from the option name. This is correct, but a DRY violation, since we check the option name at several points in the callchain. Instead pass the protocol explicitly to conf_ports_range_except() and conf_ports_spec(), computing it from the option name in conf_ports(). This is redundant for now, but means the optname and optarg parameters to the lower-level functions are used only for debugging output and will be removable in future. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions