summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-03-23 00:26:26 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-03-23 00:26:26 +0100
commit72aed1a00ba9e18116d6fd907f7e1a36d0a0a583 (patch)
treec753fb8b35af591812c5d64eeccdb6f9c9ff0c30 /sysdep/unix/krt.h
parent89647357af0d8507652f257f1e8f5679fe9a7078 (diff)
Adds krt_source route attribute.
Thanks Jeremie Dimino for the original patch.
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 b0c4dc5e..aa1eccaa 100644
--- a/sysdep/unix/krt.h
+++ b/sysdep/unix/krt.h
@@ -28,8 +28,9 @@ struct kif_proto;
#define KRF_DELETE 3 /* Should be deleted */
#define KRF_IGNORE 4 /* To be ignored */
-#define EA_KRT_PREFSRC EA_CODE(EAP_KRT, 0)
-#define EA_KRT_REALM EA_CODE(EAP_KRT, 1)
+#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)
/* Whenever we recognize our own routes, we allow learing of foreign routes */