mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Protocol: Introducing an enum protocol_class
This supersedes the EAP_* constants.
This commit is contained in:
@@ -182,8 +182,8 @@ struct rip_rte
|
||||
#define RIP_ENTRY_VALID 1 /* Valid outgoing route */
|
||||
#define RIP_ENTRY_STALE 2 /* Stale outgoing route, waiting for GC */
|
||||
|
||||
#define EA_RIP_METRIC EA_CODE(EAP_RIP, 0)
|
||||
#define EA_RIP_TAG EA_CODE(EAP_RIP, 1)
|
||||
#define EA_RIP_METRIC EA_CODE(PROTOCOL_RIP, 0)
|
||||
#define EA_RIP_TAG EA_CODE(PROTOCOL_RIP, 1)
|
||||
|
||||
static inline int rip_is_v2(struct rip_proto *p)
|
||||
{ return p->rip2; }
|
||||
|
Reference in New Issue
Block a user