aboutgitcodebugslistschat
path: root/test/perf
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-08-21 14:20:01 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-08-21 11:59:58 +0200
commitc67989466865d0a3d0a327d8b0d191686e81d8ba (patch)
tree70efe6becc5928c9e5d8b8b9469e68322f97fcad /test/perf
parentceea52ca9310054cdc822552c4066073bd513ac4 (diff)
downloadpasst-c67989466865d0a3d0a327d8b0d191686e81d8ba.tar
passt-c67989466865d0a3d0a327d8b0d191686e81d8ba.tar.gz
passt-c67989466865d0a3d0a327d8b0d191686e81d8ba.tar.bz2
passt-c67989466865d0a3d0a327d8b0d191686e81d8ba.tar.lz
passt-c67989466865d0a3d0a327d8b0d191686e81d8ba.tar.xz
passt-c67989466865d0a3d0a327d8b0d191686e81d8ba.tar.zst
passt-c67989466865d0a3d0a327d8b0d191686e81d8ba.zip
conf: Use array indices rather than pointers for DNS array slots
Currently add_dns[46]() take a somewhat awkward double pointer to the entry in the c->ip[46].dns array to update. It turns out to be easier to work with indices into that array instead. This diff does add some lines, but it's comments, and will allow some future code reductions. 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