From a7fb269357d8852cadac425a1b97c7b20bcc787b Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 20 Mar 2016 02:01:00 -0500 Subject: [PATCH] ircd: listener: more ss_family grr --- ircd/listener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/listener.c b/ircd/listener.c index f89128b3..a3d08cba 100644 --- a/ircd/listener.c +++ b/ircd/listener.c @@ -282,7 +282,7 @@ find_listener(struct rb_sockaddr_storage *addr) if(GET_SS_FAMILY(addr) != GET_SS_FAMILY(&listener->addr)) continue; - switch(addr->ss_family) + switch(GET_SS_FAMILY(addr)) { case AF_INET: {