summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/hastd/parse.y')
-rw-r--r--sbin/hastd/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/parse.y b/sbin/hastd/parse.y
index a20b61a..04ea7ab 100644
--- a/sbin/hastd/parse.y
+++ b/sbin/hastd/parse.y
@@ -769,7 +769,7 @@ family_supported(int family)
int sock;
sock = socket(family, SOCK_STREAM, 0);
- if (sock == -1 && errno == EPROTONOSUPPORT)
+ if (sock == -1 && errno == EAFNOSUPPORT)
return (false);
if (sock >= 0)
(void)close(sock);
OpenPOWER on IntegriCloud