diff options
Diffstat (limited to 'ospfd/ospf_gr_helper.h')
| -rw-r--r-- | ospfd/ospf_gr_helper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_gr_helper.h b/ospfd/ospf_gr_helper.h index 4e83028fe6..c355bb4f3d 100644 --- a/ospfd/ospf_gr_helper.h +++ b/ospfd/ospf_gr_helper.h @@ -152,9 +152,9 @@ struct advRtr { #define OSPF_GR_FAILURE 0 #define OSPF_GR_INVALID -1 -extern const char *ospf_exit_reason_desc[]; -extern const char *ospf_restart_reason_desc[]; -extern const char *ospf_rejected_reason_desc[]; +const char *ospf_exit_reason2str(unsigned int reason); +const char *ospf_restart_reason2str(unsigned int reason); +const char *ospf_rejected_reason2str(unsigned int reason); extern void ospf_gr_helper_init(struct ospf *ospf); extern void ospf_gr_helper_stop(struct ospf *ospf); |
