summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-04-04 20:04:07 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-04-04 20:04:07 +0200
commit422f8d0ca9745a16b1f46710c621fc9f98200bcf (patch)
tree24e91ad38adfd824c624a4a46889e6102b913225 /zebra/rib.h
parentb394fc99bc4b555aa3c78521439b28f1ff8886ef (diff)
parentb3cfe637a66a5de00c72125f5fa051155ccb4a29 (diff)
Merge branch 'master'
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index c0cde50baf..5381d76b98 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -24,6 +24,7 @@
#define _ZEBRA_RIB_H
#include "zebra.h"
+#include "hook.h"
#include "linklist.h"
#include "prefix.h"
#include "table.h"
@@ -490,4 +491,6 @@ rib_tables_iter_cleanup (rib_tables_iter_t *iter)
iter->state = RIB_TABLES_ITER_S_DONE;
}
+DECLARE_HOOK(rib_update, (struct route_node *rn, const char *reason), (rn, reason))
+
#endif /*_ZEBRA_RIB_H */