summaryrefslogtreecommitdiff
path: root/proto/rip/rip.h
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2021-09-14 20:12:33 +0200
committerMaria Matejka <mq@ucw.cz>2021-10-13 19:09:04 +0200
commita0e4c66404681c5613ef7f6e80f8b8c3022446d4 (patch)
treeb32d1511bdf884480a031e66dcfbfaaad9479c53 /proto/rip/rip.h
parent6e13df70fdaeb0f08ae5171f62240402501783ea (diff)
RIP: convert the rte-local attributes to extended attributes
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r--proto/rip/rip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h
index 8d347000..f8713c4a 100644
--- a/proto/rip/rip.h
+++ b/proto/rip/rip.h
@@ -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; }