aboutsummaryrefslogtreecommitdiffstats
path: root/main/netsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/netsock.c')
-rw-r--r--main/netsock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/netsock.c b/main/netsock.c
index e19433bbb..46b306074 100644
--- a/main/netsock.c
+++ b/main/netsock.c
@@ -144,6 +144,8 @@ struct ast_netsock *ast_netsock_bindaddr(struct ast_netsock_list *list, struct i
if (setsockopt(netsocket, IPPROTO_IP, IP_TOS, &tos, sizeof(tos)))
ast_log(LOG_WARNING, "Unable to set TOS to %d\n", tos);
+ ast_enable_packet_fragmentation(netsocket);
+
if (!(ns = ast_calloc(1, sizeof(struct ast_netsock)))) {
close(netsocket);
return NULL;