aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index 49d18aad2..9371652d3 100644
--- a/src/main.h
+++ b/src/main.h
@@ -122,6 +122,14 @@ struct save_point {
};
+/**
+ * Union that would be used for storing sockaddrs
+ */
+union sa_union {
+ struct sockaddr_storage ss;
+ struct sockaddr_in s4;
+ struct sockaddr_in6 s6;
+};
/**
* Control session object