summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_interface.h')
-rw-r--r--ospf6d/ospf6_interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ospf6d/ospf6_interface.h b/ospf6d/ospf6_interface.h
index 179477a634..846cde4191 100644
--- a/ospf6d/ospf6_interface.h
+++ b/ospf6d/ospf6_interface.h
@@ -23,6 +23,7 @@
#define OSPF6_INTERFACE_H
#include "qobj.h"
+#include "hook.h"
#include "if.h"
/* Debug option */
@@ -182,4 +183,8 @@ extern void install_element_ospf6_clear_interface (void);
extern int config_write_ospf6_debug_interface (struct vty *vty);
extern void install_element_ospf6_debug_interface (void);
+DECLARE_HOOK(ospf6_interface_change,
+ (struct ospf6_interface *oi, int state, int old_state),
+ (oi, state, old_state))
+
#endif /* OSPF6_INTERFACE_H */