diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-10-03 18:42:59 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-21 20:26:11 -0500 |
| commit | 19e550954bfdddf304c36fee4b24f85cf3180f5b (patch) | |
| tree | e696a1196e3d3797e31cc6e97d915c5402dd79eb /pimd/pim_pim.c | |
| parent | 8ccbc80f01ca6181e1b00c033389a79d87dbc70e (diff) | |
pimd: Allow bigger packet sizes when receiving callbacks.
When receiving callbacks from the kernel allow bigger
packet sizes than 3k to be handled appropriately.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_pim.c')
| -rw-r--r-- | pimd/pim_pim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c index 991bac8a2e..b10528536e 100644 --- a/pimd/pim_pim.c +++ b/pimd/pim_pim.c @@ -538,11 +538,11 @@ pim_msg_send(int fd, struct in_addr src, { struct sockaddr_in to; socklen_t tolen; - unsigned char buffer[3000]; + unsigned char buffer[10000]; unsigned char *msg_start; struct ip *ip; - memset (buffer, 0, 3000); + memset (buffer, 0, 10000); int sendlen = sizeof (struct ip) + pim_msg_size; msg_start = buffer + sizeof (struct ip); |
