diff options
author | kolla <kolla> | 2009-09-11 13:45:47 +0000 |
---|---|---|
committer | kolla <kolla@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2009-09-11 13:45:47 +0000 |
commit | e99882a2347c5a55c78cdbe1c692bded77b046c1 (patch) | |
tree | a197373328127f38bc208c78cbb6ef7fc154470f /radsecproxy.c | |
parent | 0e93182d8127c28b686d14a1ec3f686023063ba7 (diff) |
Added Stefan's UDP fragmentation fix
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@510 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 3 |
1 files changed, 3 insertions, 0 deletions
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)); |