aboutgitcodebugslistschat
path: root/test/lib/setup
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-11-04 14:10:34 +1100
committerStefano Brivio <sbrivio@redhat.com>2022-11-04 12:04:21 +0100
commitdd3470d9a92bd2fc83b3afd5ff9490b73de6a58c (patch)
tree93086c8b07605cf31d34569dc61d42b0e3973cf6 /test/lib/setup
parentdd09cceaee216afc90101ee5c3a2d57b1ca1a042 (diff)
downloadpasst-dd3470d9a92bd2fc83b3afd5ff9490b73de6a58c.tar
passt-dd3470d9a92bd2fc83b3afd5ff9490b73de6a58c.tar.gz
passt-dd3470d9a92bd2fc83b3afd5ff9490b73de6a58c.tar.bz2
passt-dd3470d9a92bd2fc83b3afd5ff9490b73de6a58c.tar.lz
passt-dd3470d9a92bd2fc83b3afd5ff9490b73de6a58c.tar.xz
passt-dd3470d9a92bd2fc83b3afd5ff9490b73de6a58c.tar.zst
passt-dd3470d9a92bd2fc83b3afd5ff9490b73de6a58c.zip
Use IPV4_IS_LOOPBACK more widely
This macro checks if an IPv4 address is in the loopback network (127.0.0.0/8). There are two places where we open code an identical check, use the macro instead. There are also a number of places we specifically exclude the loopback address (127.0.0.1), but we should actually be excluding anything in the loopback network. Change those sites to use the macro as well. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/setup')
0 files changed, 0 insertions, 0 deletions