summaryrefslogtreecommitdiff
path: root/sysdep/linux
diff options
context:
space:
mode:
authorroot <root@localhost.(none)>2012-01-09 16:57:45 +0100
committerroot <root@localhost.(none)>2012-01-09 16:57:45 +0100
commit4b3a8ff8c6e34f0486b82a10706f1ee0b688048e (patch)
tree4b1624c689d2eac301d73b961e277d4ee5c48de8 /sysdep/linux
parent2c67a564b368bee94f387ba988e8a2e9a76a04ce (diff)
Extend buffer for netlink messages.
Diffstat (limited to 'sysdep/linux')
-rw-r--r--sysdep/linux/netlink/netlink.c2
1 files changed, 1 insertions, 1 deletions
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);