mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 20:07:46 +00:00
babeld: remove useless variable, make local another.
This commit is contained in:
parent
2236df0389
commit
b5d43c9394
@ -80,9 +80,7 @@ struct timeval babel_now; /* current time */
|
||||
unsigned char myid[8]; /* unique id (mac address of an interface) */
|
||||
int debug = BABEL_DEBUG_COMMON;
|
||||
|
||||
time_t reboot_time;
|
||||
int idle_time = 320;
|
||||
int link_detect = 0;
|
||||
int wireless_hello_interval = -1;
|
||||
int wired_hello_interval = -1;
|
||||
int idle_hello_interval = -1;
|
||||
@ -385,6 +383,7 @@ babel_replace_by_null(int fd)
|
||||
static void
|
||||
babel_load_state_file(void)
|
||||
{
|
||||
time_t reboot_time;
|
||||
reboot_time = babel_now.tv_sec;
|
||||
int fd;
|
||||
int rc;
|
||||
|
@ -43,7 +43,6 @@ extern struct thread_master *master; /* quagga's threads handler */
|
||||
extern int debug;
|
||||
extern int wireless_hello_interval, wired_hello_interval, idle_hello_interval;
|
||||
extern int idle_time;
|
||||
extern int link_detect;
|
||||
|
||||
extern unsigned char myid[8];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user