1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

RIP: convert the rte-local attributes to extended attributes

This commit is contained in:
Maria Matejka
2021-09-14 20:12:33 +02:00
parent 6e13df70fd
commit a0e4c66404
3 changed files with 37 additions and 43 deletions

View File

@@ -197,6 +197,7 @@ struct rip_rte
#define EA_RIP_METRIC EA_CODE(PROTOCOL_RIP, 0)
#define EA_RIP_TAG EA_CODE(PROTOCOL_RIP, 1)
#define EA_RIP_FROM EA_CODE(PROTOCOL_RIP, 2)
static inline int rip_is_v2(struct rip_proto *p)
{ return p->rip2; }