about summary refs log tree commit diff
path: root/src/mastersrv
diff options
context:
space:
mode:
Diffstat (limited to 'src/mastersrv')
-rw-r--r--src/mastersrv/mastersrv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mastersrv/mastersrv.h b/src/mastersrv/mastersrv.h
index b5347914..86cd28fe 100644
--- a/src/mastersrv/mastersrv.h
+++ b/src/mastersrv/mastersrv.h
@@ -5,6 +5,12 @@ enum {
 	MAX_SERVERS = 200
 };
 
+typedef struct MASTERSRV_ADDR
+{
+	unsigned char ip[4];
+	unsigned char port[2];
+} MASTERSRV_ADDR;
+
 static const unsigned char SERVERBROWSE_HEARTBEAT[] = {255, 255, 255, 255, 'b', 'e', 'a', 't'};
 
 static const unsigned char SERVERBROWSE_GETLIST[] = {255, 255, 255, 255, 'r', 'e', 'q', 't'};