summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-03-23 01:17:02 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-03-23 17:22:13 +0100
commit9ba2798c65c02254ec000ab03a76fbbaae1ddc97 (patch)
tree51f2a88061dd0f4adc122a122370658b4a557e18 /sysdep/unix/krt.h
parent72aed1a00ba9e18116d6fd907f7e1a36d0a0a583 (diff)
Adds krt_metric linux route attribute.
Diffstat (limited to 'sysdep/unix/krt.h')
-rw-r--r--sysdep/unix/krt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdep/unix/krt.h b/sysdep/unix/krt.h
index aa1eccaa..d859c5b8 100644
--- a/sysdep/unix/krt.h
+++ b/sysdep/unix/krt.h
@@ -29,8 +29,9 @@ struct kif_proto;
#define KRF_IGNORE 4 /* To be ignored */
#define EA_KRT_SOURCE EA_CODE(EAP_KRT, 0)
-#define EA_KRT_PREFSRC EA_CODE(EAP_KRT, 1)
-#define EA_KRT_REALM EA_CODE(EAP_KRT, 2)
+#define EA_KRT_METRIC EA_CODE(EAP_KRT, 1)
+#define EA_KRT_PREFSRC EA_CODE(EAP_KRT, 2)
+#define EA_KRT_REALM EA_CODE(EAP_KRT, 3)
/* Whenever we recognize our own routes, we allow learing of foreign routes */