From 4b3a8ff8c6e34f0486b82a10706f1ee0b688048e Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Jan 2012 16:57:45 +0100 Subject: Extend buffer for netlink messages. --- sysdep/linux/netlink/netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdep/linux') diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c index f8a5d632..cf808231 100644 --- a/sysdep/linux/netlink/netlink.c +++ b/sysdep/linux/netlink/netlink.c @@ -625,7 +625,7 @@ nl_send_route(struct krt_proto *p, rte *e, int new) struct { struct nlmsghdr h; struct rtmsg r; - char buf[64 + nh_bufsize(a->nexthops)]; + char buf[128 + nh_bufsize(a->nexthops)]; } r; DBG("nl_send_route(%I/%d,new=%d)\n", net->n.prefix, net->n.pxlen, new); -- cgit v1.2.3