summaryrefslogtreecommitdiff
path: root/lib/plist.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-08-23 16:54:15 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-08-24 00:18:53 +0200
commit427f8e61bb711b51891dbaee845215ca228951f1 (patch)
treebafe78de9e9f109c2f840eaf4a357511275695aa /lib/plist.h
parent6bd2b3608d6dc1eca171c30916f029f6f867db6b (diff)
ospf6d: properly update prefix list references
Register add/delete hooks with the prefix list code to properly change ospf6_area's prefix list in/out pointers. There are 2 other uncached uses of prefix lists in the ASBR route-map code and the interface code; these should probably be cached too. (To be fixed another day...) Fixes: #453 Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/plist.h')
-rw-r--r--lib/plist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plist.h b/lib/plist.h
index 73d8da509a..3eba3046ae 100644
--- a/lib/plist.h
+++ b/lib/plist.h
@@ -48,6 +48,7 @@ extern void prefix_list_add_hook(void (*func)(struct prefix_list *));
extern void prefix_list_delete_hook(void (*func)(struct prefix_list *));
extern const char *prefix_list_name(struct prefix_list *);
+extern afi_t prefix_list_afi(struct prefix_list *);
extern struct prefix_list *prefix_list_lookup(afi_t, const char *);
extern enum prefix_list_type prefix_list_apply(struct prefix_list *, void *);