summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-30 21:25:32 +0000
committerMartin Mares <mj@ucw.cz>2000-05-30 21:25:32 +0000
commit5919c66e8fdd87ee7e5c5a1e0ce01893e0ce103d (patch)
tree75b628dcafbbfbb58c0689e7fc28649a1c5fa6d2 /nest
parent2cec475b8fbaa6cb0865ceacd900ffb678818330 (diff)
Route attributes for OSPF.
Diffstat (limited to 'nest')
-rw-r--r--nest/route.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/route.h b/nest/route.h
index 640cd490..bc8f3511 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)