Commit cc1a321c authored by Andrew Vagin's avatar Andrew Vagin Committed by Pavel Emelyanov

sk-inet: fix a value of INET_ADDR_LEN

man of inet_ntop says that INET_ADDR_LEN should not be less than
INET_ADDRSTRLEN and INET6_ADDRSTRLEN
Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 178692e7
......@@ -9,7 +9,7 @@
#include "protobuf.h"
#include "images/sk-inet.pb-c.h"
#define INET_ADDR_LEN 40
#define INET_ADDR_LEN 48 /* max of INET_ADDRSTRLEN and INET6_ADDRSTRLEN */
#ifndef TCP_REPAIR
#define TCP_REPAIR 19 /* TCP sock is under repair right now */
#define TCP_REPAIR_QUEUE 20
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment