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 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);