summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-11-15 17:21:45 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-11-15 17:21:45 +0000
commit3ea7e2803969e2d18bcfcec1ad048f8028444533 (patch)
tree2d1d7eae4b5f72051963535bb5aa334576be3d24 /src/OS
parentd12746bc15d83ab821be36975da0179672708bc1 (diff)
OpenBSD: bump dns-result buffer to 64kB
This just to take out a difference in testsuite behaviour. Builds for memory-constrained devices could legitimately use 16kB.
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/os.h-OpenBSD5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD
index b09bd84be..dde779f00 100644
--- a/src/OS/os.h-OpenBSD
+++ b/src/OS/os.h-OpenBSD
@@ -53,7 +53,8 @@ typedef struct __res_state *res_state;
#endif
#define TIME_T_FMT "%lld"
-/* seems arpa/nameser.h does not define this */
-#define NS_MAXMSG 16380
+/* seems arpa/nameser.h does not define this.
+Space-constrained devices could use much smaller; a few k. */
+#define NS_MAXMSG 65535
/* End */