aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-12-15 08:03:43 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-12-15 08:03:43 +0100
commita4f2231216662b5f40d379f4ca1d04f00928c9ea (patch)
tree20aaa9e7b297c56ef694ccbcc17d450a8a40caa7
parentMerge branch 'master' of gouloum.fr:glouglou (diff)
downloadglouglou-a4f2231216662b5f40d379f4ca1d04f00928c9ea.tar.xz
glouglou-a4f2231216662b5f40d379f4ca1d04f00928c9ea.zip
double GGNET_DNSNAME_MAX and GG_PKTARG_MAX to allow for longer fqdn
-rw-r--r--libglouglou/libggnet.h2
-rw-r--r--libglouglou/libglouglou.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libglouglou/libggnet.h b/libglouglou/libggnet.h
index 825f8f8..1b17a32 100644
--- a/libglouglou/libggnet.h
+++ b/libglouglou/libggnet.h
@@ -14,7 +14,7 @@
#include <bsd/sys/queue.h>
#endif
-#define GGNET_DNSNAME_MAX 30
+#define GGNET_DNSNAME_MAX 60
#define GGNET_CONN_FREEIDS_COUNT 65536 /* 2^16 as freeids are u_int16_t */
#define GGNET_MANAGE_CONNID_TRUE 1
diff --git a/libglouglou/libglouglou.h b/libglouglou/libglouglou.h
index b3e42d0..b081685 100644
--- a/libglouglou/libglouglou.h
+++ b/libglouglou/libglouglou.h
@@ -18,7 +18,7 @@
#define PACKET_VERSION 1
#define PACKET_BUFFER_SIZE 16384
#define PACKET_SNDBUF_MAX 500
-#define GG_PKTARG_MAX 30
+#define GG_PKTARG_MAX 60
#define GG_PKTDATA_SIZE_FACTOR 20
#define GG_PKTDATA_SIZE_ENCODE(pktsize, size, response) \