From ee7e2ffd265fd76dbc8c94d9c2d48da54c27ff76 Mon Sep 17 00:00:00 2001 From: Jan Maria Matejka Date: Mon, 7 May 2018 14:47:00 +0200 Subject: Protocol: Introducing an enum protocol_class This supersedes the EAP_* constants. --- proto/rip/rip.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/rip/rip.h') diff --git a/proto/rip/rip.h b/proto/rip/rip.h index 55696333..2dc34862 100644 --- a/proto/rip/rip.h +++ b/proto/rip/rip.h @@ -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; } -- cgit v1.2.3