summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2019-05-23 15:09:18 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2019-05-23 15:09:18 +0000
commit607a919012c762d387ff5972b9aa0d819ab8986e (patch)
tree0fa191f110049e0ce0ac40686b7ba9252d6b7c0f /sbin
parent26039f360cf048cd002923730bae14bd0673b951 (diff)
typo
Diffstat (limited to 'sbin')
-rw-r--r--sbin/unwind/resolver.c5
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;