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: {