summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorkolla <kolla>2009-09-11 13:45:23 +0000
committerkolla <kolla@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2009-09-11 13:45:23 +0000
commit213cc4a52d49896ae472c223698852fdfefc50aa (patch)
tree33f331991ec9ee12f1417675aa603002ee28cb6a /radsecproxy.c
parent2cbec54faf755087a155fec2c493cf44c744adfb (diff)
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
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c3
1 files changed, 3 insertions, 0 deletions
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));