1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Adds krt_source route attribute.

Thanks Jeremie Dimino for the original patch.
This commit is contained in:
Ondrej Zajicek
2012-03-23 00:26:26 +01:00
parent 89647357af
commit 72aed1a00b
6 changed files with 44 additions and 6 deletions

View File

@@ -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 */