ospfd: fix symbol collision

debug_init() was recently added in libfrr, which is now causing a build
error with static linking.

Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
David Lamparter 2018-10-01 14:55:06 +02:00
parent d6e7625706
commit 6243a7b569
3 changed files with 3 additions and 3 deletions

View File

@ -1799,7 +1799,7 @@ static int config_write_debug(struct vty *vty)
}
/* Initialize debug commands. */
void debug_init()
void ospf_debug_init(void)
{
install_node(&debug_node, config_write_debug);

View File

@ -140,7 +140,7 @@ extern const char *ospf_timer_dump(struct thread *, char *, size_t);
extern const char *ospf_timeval_dump(struct timeval *, char *, size_t);
extern void ospf_ip_header_dump(struct ip *);
extern void ospf_packet_dump(struct stream *);
extern void debug_init(void);
extern void ospf_debug_init(void);
/* Appropriate buffer size to use with ospf_timer_dump and ospf_timeval_dump: */
#define OSPF_TIME_DUMP_SIZE 16

View File

@ -187,7 +187,7 @@ int main(int argc, char **argv)
master = om->master;
/* Library inits. */
debug_init();
ospf_debug_init();
ospf_vrf_init();
access_list_init();