relayd: put rule requests on stack
[project/relayd.git] / 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 {