diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2017-03-28 17:35:57 +0200 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2017-03-28 17:35:57 +0200 |
commit | 5dbeb87ec96157ca95c84d881e014614dd3164a3 (patch) | |
tree | 1f0822827c3d2a8c02b9f941a5b053bb13622129 | |
parent | 2282030b2a4fb07805a0cd8b82a9aab73b7586d8 (diff) | |
parent | d1b8fe93f018fb272c3a423df1ab13d86c159f00 (diff) |
Merge branch 'int-new' of gitlab.labs.nic.cz:labs/bird into int-new
-rw-r--r-- | sysdep/linux/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/netlink.c b/sysdep/linux/netlink.c index bb85a38b..68d8560c 100644 --- a/sysdep/linux/netlink.c +++ b/sysdep/linux/netlink.c @@ -1172,7 +1172,7 @@ nl_send_route(struct krt_proto *p, rte *e, struct ea_list *eattrs, int op, int d priority = ea->u.data; if (priority) - nl_add_attr_u32(&r->h, sizeof(r), RTA_PRIORITY, priority); + nl_add_attr_u32(&r->h, rsize, RTA_PRIORITY, priority); /* For route delete, we do not specify remaining route attributes */ if (op == NL_OP_DELETE) |