version 1.1.1.3, 2013/07/21 23:54:40
|
version 1.1.1.4, 2016/11/02 10:09:10
|
Line 33
|
Line 33
|
#include "privs.h" |
#include "privs.h" |
#include "sigevent.h" |
#include "sigevent.h" |
#include "zclient.h" |
#include "zclient.h" |
|
#include "vrf.h" |
|
|
#include "ripd/ripd.h" |
#include "ripd/ripd.h" |
|
|
Line 126 Report bugs to %s\n", progname, ZEBRA_BUG_ADDRESS);
|
Line 127 Report bugs to %s\n", progname, ZEBRA_BUG_ADDRESS);
|
|
|
exit (status); |
exit (status); |
} |
} |
| |
/* SIGHUP handler. */ |
/* SIGHUP handler. */ |
static void |
static void |
sighup (void) |
sighup (void) |
Line 183 static struct quagga_signal_t ripd_signals[] =
|
Line 184 static struct quagga_signal_t ripd_signals[] =
|
.handler = &sigint, |
.handler = &sigint, |
}, |
}, |
}; |
}; |
| |
/* Main routine of ripd. */ |
/* Main routine of ripd. */ |
int |
int |
main (int argc, char **argv) |
main (int argc, char **argv) |
Line 280 main (int argc, char **argv)
|
Line 281 main (int argc, char **argv)
|
vty_init (master); |
vty_init (master); |
memory_init (); |
memory_init (); |
keychain_init (); |
keychain_init (); |
|
vrf_init (); |
|
|
/* RIP related initialization. */ |
/* RIP related initialization. */ |
rip_init (); |
rip_init (); |
rip_if_init (); |
rip_if_init (); |
rip_zclient_init (); | rip_zclient_init (master); |
rip_peer_init (); |
rip_peer_init (); |
|
|
/* Sort all installed commands. */ |
|
sort_node (); |
|
|
|
/* Get configuration file. */ |
/* Get configuration file. */ |
vty_read_config (config_file, config_default); |
vty_read_config (config_file, config_default); |