diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/unwind/resolver.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/unwind/resolver.c b/sbin/unwind/resolver.c index 24bf7e8ef23..e97bb1e37df 100644 --- a/sbin/unwind/resolver.c +++ b/sbin/unwind/resolver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolver.c,v 1.40 2019/05/14 14:51:31 florian Exp $ */ +/* $OpenBSD: resolver.c,v 1.41 2019/05/23 15:09:17 florian Exp $ */ /* * Copyright (c) 2018 Florian Obser <florian@openbsd.org> @@ -1161,7 +1161,8 @@ best_resolver(void) uw_resolver_state_str[resolvers[UW_RES_DOT]->state] : "NA", captive_portal_state_str[captive_portal_state]); - if (captive_portal_state == UNKNOWN || captive_portal_state == BEHIND) { + if (captive_portal_state == PORTAL_UNKNOWN || captive_portal_state == + BEHIND) { if (resolvers[UW_RES_DHCP] != NULL) { res = resolvers[UW_RES_DHCP]; goto out; |