Commit 7d1860a6 authored by Julien Gilli's avatar Julien Gilli Committed by Timothy J Fontaine
Browse files

tests: fix invalid hints flags dns test.



1 is actually a valid flag on SmartOS. More generally, hints flags'
values are defined by the underlying native flags, and these can have
different values on different systems.

Using (ADDRCONFIG | V4MAPPED) + 1 ensure that the flag will be invalid,
since it will always be different from ADDRCONFIG, V4MAPPED, ADDRCONFIG
| V4MAPPED,  0 and any other combination of even flags.

Signed-off-by: default avatarTimothy J Fontaine <tjfontaine@gmail.com>
parent 44743eaf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment