mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-31 08:35:45 +00:00
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:
parent
d6e7625706
commit
6243a7b569
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user