summaryrefslogtreecommitdiff
path: root/zebra/rule_netlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rule_netlink.c')
-rw-r--r--zebra/rule_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rule_netlink.c b/zebra/rule_netlink.c
index 07e1902f65..a5a605f27e 100644
--- a/zebra/rule_netlink.c
+++ b/zebra/rule_netlink.c
@@ -355,7 +355,7 @@ static int netlink_request_rules(struct zebra_ns *zns, int family, int type)
req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct fib_rule_hdr));
req.frh.family = family;
- return netlink_request(&zns->netlink_cmd, &req.n);
+ return netlink_request(&zns->netlink_cmd, &req);
}
/*