summaryrefslogtreecommitdiffstats
path: root/nest/route.h
diff options
context:
space:
mode:
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/route.h b/nest/route.h
index 640cd49..bc8f351 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -287,7 +287,8 @@ typedef struct eattr {
#define EAP_GENERIC 0 /* Generic attributes */
#define EAP_BGP 1 /* BGP attributes */
#define EAP_RIP 2 /* RIP */
-#define EAP_MAX 3
+#define EAP_OSPF 3 /* OSPF */
+#define EAP_MAX 4
#define EA_CODE(proto,id) (((proto) << 8) | (id))
#define EA_PROTO(ea) ((ea) >> 8)