summaryrefslogtreecommitdiff
path: root/include/sockets.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-07-03 13:29:27 -0400
committerAdam <Adam@anope.org>2016-07-03 13:29:27 -0400
commit8dc687b657205abefeb1a779ea42070721252e14 (patch)
tree3be15fa06f97359c4523000ec496cab9c93af678 /include/sockets.h
parent18fc11398435a84a77219dc7332bed6e38c850d7 (diff)
#1682: store aftype with masks and include cidrs in GetNUHMask
Diffstat (limited to 'include/sockets.h')
-rw-r--r--include/sockets.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sockets.h b/include/sockets.h
index f49d6c3ff..89ca79dde 100644
--- a/include/sockets.h
+++ b/include/sockets.h
@@ -38,6 +38,10 @@ union CoreExport sockaddrs
*/
void clear();
+ /** Get address family.
+ */
+ int family() const;
+
/** Get the size of the sockaddr we represent
* @return The size
*/