0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

Extend buffer for netlink messages.

This commit is contained in:
root 2012-01-09 16:57:45 +01:00
parent 2c67a564b3
commit 4b3a8ff8c6

View File

@ -625,7 +625,7 @@ nl_send_route(struct krt_proto *p, rte *e, int new)
struct { struct {
struct nlmsghdr h; struct nlmsghdr h;
struct rtmsg r; struct rtmsg r;
char buf[64 + nh_bufsize(a->nexthops)]; char buf[128 + nh_bufsize(a->nexthops)];
} r; } r;
DBG("nl_send_route(%I/%d,new=%d)\n", net->n.prefix, net->n.pxlen, new); DBG("nl_send_route(%I/%d,new=%d)\n", net->n.prefix, net->n.pxlen, new);