aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-03-27 15:34:24 +1100
committerStefano Brivio <sbrivio@redhat.com>2026-03-28 14:35:56 +0100
commit9c37a481f12a5fbbeb98dbc16763e444f0322f57 (patch)
tree5c7a30ee0e1efa850a17e723229d045ec864865e /test
parent66e26b95e4886f35301829c3ed2af458796b312f (diff)
downloadpasst-9c37a481f12a5fbbeb98dbc16763e444f0322f57.tar
passt-9c37a481f12a5fbbeb98dbc16763e444f0322f57.tar.gz
passt-9c37a481f12a5fbbeb98dbc16763e444f0322f57.tar.bz2
passt-9c37a481f12a5fbbeb98dbc16763e444f0322f57.tar.lz
passt-9c37a481f12a5fbbeb98dbc16763e444f0322f57.tar.xz
passt-9c37a481f12a5fbbeb98dbc16763e444f0322f57.tar.zst
passt-9c37a481f12a5fbbeb98dbc16763e444f0322f57.zip
conf: Move check for mapping port 0 to caller
conf_ports_range_except() checks that it hasn't been asked to map port 0, which generally won't work. However, there's only one callsite that doesn't statically pass a non-zero value here. Change the check to an assert() and move the actual error message to that callsite. This will allow further cleanups later. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions