diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2026-03-27 15:34:25 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-03-28 14:35:58 +0100 |
| commit | 72e716245cd0acac8c8db7a70628284f869c7691 (patch) | |
| tree | 96fdb26fc35da75d80bfd7851649a8b8744b460c /doc | |
| parent | 9c37a481f12a5fbbeb98dbc16763e444f0322f57 (diff) | |
| download | passt-72e716245cd0acac8c8db7a70628284f869c7691.tar passt-72e716245cd0acac8c8db7a70628284f869c7691.tar.gz passt-72e716245cd0acac8c8db7a70628284f869c7691.tar.bz2 passt-72e716245cd0acac8c8db7a70628284f869c7691.tar.lz passt-72e716245cd0acac8c8db7a70628284f869c7691.tar.xz passt-72e716245cd0acac8c8db7a70628284f869c7691.tar.zst passt-72e716245cd0acac8c8db7a70628284f869c7691.zip | |
conf: Move check for disabled interfaces earlier
conf_ports_range_except() generates errors if asked to map an address of
a family that's not available. This is quite late to perform the check,
most callsites pass a NULL address, making the test moot, the one remaining
can check the address earlier. Move the check there, simplifying the
lower level function.
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
