1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 23:46:38 +02:00

#1682: store aftype with masks and include cidrs in GetNUHMask

This commit is contained in:
Adam
2016-07-03 13:29:27 -04:00
parent 18fc113984
commit 8dc687b657
4 changed files with 30 additions and 8 deletions
+5
View File
@@ -39,6 +39,11 @@ void sockaddrs::clear()
memset(this, 0, sizeof(*this));
}
int sockaddrs::family() const
{
return sa.sa_family;
}
size_t sockaddrs::size() const
{
switch (sa.sa_family)