summaryrefslogtreecommitdiff
path: root/bgpd/bgp_attr.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_attr.h')
-rw-r--r--bgpd/bgp_attr.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/bgpd/bgp_attr.h b/bgpd/bgp_attr.h
index ac14947f..1af9ce30 100644
--- a/bgpd/bgp_attr.h
+++ b/bgpd/bgp_attr.h
@@ -109,7 +109,13 @@ struct attr
struct in_addr nexthop;
u_int32_t med;
u_int32_t local_pref;
-
+
+ /* AS-Pathlimit */
+ struct {
+ u_int32_t as;
+ u_char ttl;
+ } pathlimit;
+
/* Path origin attribute */
u_char origin;
};