diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/motd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -257,11 +257,13 @@ motd_lookup(struct Client *client_p) if (match_ipv4(&client_p->localClient->ip, &motd->address, motd->addrbits)) return motd; break; +#ifdef IPV6 case MOTD_IPMASKV6: if (client_p->localClient->aftype == AF_INET6) if (match_ipv6(&client_p->localClient->ip, &motd->address, motd->addrbits)) return motd; break; +#endif default: break; } } |