summaryrefslogtreecommitdiff
path: root/nest/attrs.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2008-10-26 22:59:21 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2008-10-26 22:59:21 +0100
commitb6bf284a905412cfe107b4967e55649e6194187e (patch)
treef0098a6d05a72982c6cd9f7e85c195b8a4861b94 /nest/attrs.h
parent4819c3e17ac22c6810ee80261ac3bffb5127e39d (diff)
Bugfixes in MULIT_EXIT_DISC attribute handling.
- Old MED handling was completely different from behavior specified in RFCs - for example they havn't been propagated to neighboring areas. - Update tie-breaking according to RFC 4271. - Change default value for 'default bgp_med' configuration option according to RFC 4271.
Diffstat (limited to 'nest/attrs.h')
-rw-r--r--nest/attrs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/attrs.h b/nest/attrs.h
index aaa5f4a2..fee2c2c8 100644
--- a/nest/attrs.h
+++ b/nest/attrs.h
@@ -27,6 +27,7 @@ int as_path_convert_to_new(struct adata *path, byte *dst, int req_as);
void as_path_format(struct adata *path, byte *buf, unsigned int size);
int as_path_getlen(struct adata *path);
int as_path_get_first(struct adata *path, u32 *orig_as);
+int as_path_get_last(struct adata *path, u32 *last_as);
int as_path_is_member(struct adata *path, u32 as);