From e99882a2347c5a55c78cdbe1c692bded77b046c1 Mon Sep 17 00:00:00 2001 From: kolla Date: Fri, 11 Sep 2009 13:45:47 +0000 Subject: Added Stefan's UDP fragmentation fix git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@510 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 f0d1fef..142614e 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1901,6 +1901,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