From 71ca77169d5d3e67459e46841b8bdb95accd8c2a Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 13 Apr 2011 12:32:27 +0200 Subject: Adds support for several Linux kernel route attributes. --- nest/route.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nest') diff --git a/nest/route.h b/nest/route.h index 8f9dff9..236882e 100644 --- a/nest/route.h +++ b/nest/route.h @@ -344,7 +344,8 @@ typedef struct eattr { #define EAP_BGP 1 /* BGP attributes */ #define EAP_RIP 2 /* RIP */ #define EAP_OSPF 3 /* OSPF */ -#define EAP_MAX 4 +#define EAP_KRT 4 /* Kernel route attributes */ +#define EAP_MAX 5 #define EA_CODE(proto,id) (((proto) << 8) | (id)) #define EA_PROTO(ea) ((ea) >> 8) -- cgit v1.2.3