summaryrefslogtreecommitdiffstats
path: root/proto/bgp/bgp.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-04-01 12:21:11 +0200
committerMartin Mares <mj@ucw.cz>2000-04-01 12:21:11 +0200
commit10be74da202b20a7d502724ef8e7a9787b7eba0a (patch)
treeff4662c562f85769c4ff2d21e37c800df3afa45c /proto/bgp/bgp.c
parentdad177d7e045ed07181da02ccd619f8f943a5c80 (diff)
downloadbird-10be74da202b20a7d502724ef8e7a9787b7eba0a.tar
bird-10be74da202b20a7d502724ef8e7a9787b7eba0a.zip
Formatting of dynamic attributes (except for paths and communities which
will be added soon).
Diffstat (limited to 'proto/bgp/bgp.c')
-rw-r--r--proto/bgp/bgp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index 9bef2e5..f325aa3 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -406,14 +406,15 @@ bgp_get_status(struct proto *P, byte *buf)
struct protocol proto_bgp = {
name: "BGP",
template: "bgp%d",
+ attr_class: EAP_BGP,
init: bgp_init,
start: bgp_start,
shutdown: bgp_shutdown,
get_status: bgp_get_status,
+ get_attr: bgp_get_attr,
#if 0
dump: bgp_dump,
get_route_info: bgp_get_route_info,
- show_route_data: bgp_show_route_data
/* FIXME: Reconfiguration */
#endif
};