From 213cc4a52d49896ae472c223698852fdfefc50aa Mon Sep 17 00:00:00 2001 From: kolla Date: Fri, 11 Sep 2009 13:45:23 +0000 Subject: Added Stefan's UDP fragmentation fix git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.3@509 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'radsecproxy.c') diff --git a/radsecproxy.c b/radsecproxy.c index c6dc9ce..702bef6 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1899,6 +1899,9 @@ void createlistener(uint8_t type, char *arg) { continue; } setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)); + + disable_DF_bit(s, res); + #ifdef IPV6_V6ONLY if (res->ai_family == AF_INET6) setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)); -- cgit v1.1