aboutgitcodebugslistschat
path: root/test/perf
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-08-21 14:20:02 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-08-21 12:00:00 +0200
commit6852bd07ccd7d155e018b8a80153bc153f7b00cc (patch)
tree252351726ae239587309956975881db28af15634 /test/perf
parentc67989466865d0a3d0a327d8b0d191686e81d8ba (diff)
downloadpasst-6852bd07ccd7d155e018b8a80153bc153f7b00cc.tar
passt-6852bd07ccd7d155e018b8a80153bc153f7b00cc.tar.gz
passt-6852bd07ccd7d155e018b8a80153bc153f7b00cc.tar.bz2
passt-6852bd07ccd7d155e018b8a80153bc153f7b00cc.tar.lz
passt-6852bd07ccd7d155e018b8a80153bc153f7b00cc.tar.xz
passt-6852bd07ccd7d155e018b8a80153bc153f7b00cc.tar.zst
passt-6852bd07ccd7d155e018b8a80153bc153f7b00cc.zip
conf: More accurately count entries added in get_dns()
get_dns() counts the number of guest DNS servers it adds, and gives an error if it couldn't add any. However, this count ignores the fact that add_dns[46]() may in some cases *not* add an entry. Use the array indices we're already tracking to get an accurate count. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf')
0 files changed, 0 insertions, 0 deletions