Merge branch 'int-new' of gitlab.labs.nic.cz:labs/bird into int-new

This commit is contained in:
Jan Moskyto Matejka 2017-03-28 17:35:57 +02:00
commit 5dbeb87ec9

View file

@ -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; priority = ea->u.data;
if (priority) 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 */ /* For route delete, we do not specify remaining route attributes */
if (op == NL_OP_DELETE) if (op == NL_OP_DELETE)