relayd: put rule requests on stack
authorFelix Fietkau <nbd@openwrt.org>
Sun, 7 Feb 2016 20:34:33 +0000 (21:34 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 7 Feb 2016 20:34:33 +0000 (21:34 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
route.c

diff --git a/route.c b/route.c
index 053ae9749e2619c8d7a77b94b2aeeef421343fe1..c552d1f271f56b9aef8f635beee33b1c2092c8da 100644 (file)
--- a/route.c
+++ b/route.c
@@ -62,7 +62,7 @@ static int get_route_table(struct relayd_interface *rif)
 static void
 rtnl_rule_request(struct relayd_interface *rif, int flags)
 {
-       static struct {
+       struct {
                struct nlmsghdr nl;
                struct rtmsg rt;
                struct {