summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_aspath.h
diff options
context:
space:
mode:
authorpaul <paul>2006-01-16 13:01:29 +0100
committerpaul <paul>2006-01-16 13:01:29 +0100
commit8fdc32ab9a81cb80296d322346867c8c3d2b2b37 (patch)
treebed62ebe30b81035f9ee9f5f605c1f443ad01c25 /bgpd/bgp_aspath.h
parent[bgpd] fix some leaks introduced in aspath rewrite. (diff)
downloadfrr-8fdc32ab9a81cb80296d322346867c8c3d2b2b37.tar.xz
frr-8fdc32ab9a81cb80296d322346867c8c3d2b2b37.zip
[bgpd] add aspath_finish, static resource cleanup function.
2006-01-16 Paul Jakma <paul.jakma@sun.com> * bgp_aspath.c: (aspath_snmp_pathseg) move the static stream pointer out to file scope, so it can be freed. (aspath_finish) new function, free aspath resources. * bgp_aspath.h: (aspath_finish) export.
Diffstat (limited to 'bgpd/bgp_aspath.h')
-rw-r--r--bgpd/bgp_aspath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h
index adf585171..7fa7f20ba 100644
--- a/bgpd/bgp_aspath.h
+++ b/bgpd/bgp_aspath.h
@@ -60,6 +60,7 @@ struct aspath
/* Prototypes. */
extern void aspath_init (void);
+extern void aspath_finish (void);
extern struct aspath *aspath_parse (struct stream *, size_t);
extern struct aspath *aspath_dup (struct aspath *);
extern struct aspath *aspath_aggregate (struct aspath *, struct aspath *);