diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-08-20 01:14:15 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-09-01 17:00:27 +0200 |
commit | 7eb155ab8f9d27e500ab91fbe8f3cef777e131fe (patch) | |
tree | 4db2bc618b3e58f52af7f85cb0d8b8d5b55a4a1e /conf.c | |
parent | 64c0f20ab3f8744bbab1fd83a4c44d11d116f99b (diff) | |
download | passt-7eb155ab8f9d27e500ab91fbe8f3cef777e131fe.tar passt-7eb155ab8f9d27e500ab91fbe8f3cef777e131fe.tar.gz passt-7eb155ab8f9d27e500ab91fbe8f3cef777e131fe.tar.bz2 passt-7eb155ab8f9d27e500ab91fbe8f3cef777e131fe.tar.lz passt-7eb155ab8f9d27e500ab91fbe8f3cef777e131fe.tar.xz passt-7eb155ab8f9d27e500ab91fbe8f3cef777e131fe.tar.zst passt-7eb155ab8f9d27e500ab91fbe8f3cef777e131fe.zip |
conf: Fix check for IPv6 DNS address being already set
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -525,7 +525,7 @@ static void get_dns(struct ctx *c) FILE *r; dns4_set = !!*dns4; - dns6_set = !IN6_IS_ADDR_UNSPECIFIED(&dns6); + dns6_set = !IN6_IS_ADDR_UNSPECIFIED(dns6); dnss_set = !!*s->n || c->no_dns_search; dns_set = dns4_set || dns6_set || c->no_dns; |