diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-10-12 20:07:44 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-10-12 20:09:01 +0100 |
commit | 75c121f07a85b4029458f11b113a4655114af126 (patch) | |
tree | 1ae711c97927c422839947ad3902974a2ef8d977 /src/exim_monitor | |
parent | 1e1d5443ae8072e23f83230ee3f1ece792dbf62f (diff) | |
download | exim4-75c121f07a85b4029458f11b113a4655114af126.tar.gz |
Increase buffer size used for DNS responses. Bug 2329
Diffstat (limited to 'src/exim_monitor')
-rw-r--r-- | src/exim_monitor/em_hdr.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/exim_monitor/em_hdr.h b/src/exim_monitor/em_hdr.h index 67294368a..ada9f36b4 100644 --- a/src/exim_monitor/em_hdr.h +++ b/src/exim_monitor/em_hdr.h @@ -87,11 +87,12 @@ anything. */ #include <pcre.h> -/* Includes from the main source of Exim. We need to have MAXPACKET defined for -the benefit of structs.h. One of these days I should tidy up this interface so -that this kind of kludge isn't needed. */ +/* Includes from the main source of Exim. One of these days I should tidy up +this interface so that this kind of kludge isn't needed. */ -#define MAXPACKET 1024 +#ifndef NS_MAXMSG +# define NS_MAXMSG 65535 +#endif typedef void hctx; #include "config.h" |