version 1.1.1.2, 2012/10/09 09:22:29
|
version 1.1.1.4, 2016/11/02 10:09:12
|
Line 34
|
Line 34
|
#include "if.h" |
#include "if.h" |
#include "privs.h" |
#include "privs.h" |
#include "sigevent.h" |
#include "sigevent.h" |
|
#include "vrf.h" |
|
|
#include "ripngd/ripngd.h" |
#include "ripngd/ripngd.h" |
|
|
Line 127 Report bugs to %s\n", progname, ZEBRA_BUG_ADDRESS);
|
Line 128 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 182 struct quagga_signal_t ripng_signals[] =
|
Line 183 struct quagga_signal_t ripng_signals[] =
|
.handler = &sigint, |
.handler = &sigint, |
}, |
}, |
}; |
}; |
| |
/* RIPngd main routine. */ |
/* RIPngd main routine. */ |
int |
int |
main (int argc, char **argv) |
main (int argc, char **argv) |
Line 272 main (int argc, char **argv)
|
Line 273 main (int argc, char **argv)
|
|
|
/* Library inits. */ |
/* Library inits. */ |
zprivs_init (&ripngd_privs); |
zprivs_init (&ripngd_privs); |
signal_init (master, Q_SIGC(ripng_signals), ripng_signals); | signal_init (master, array_size(ripng_signals), ripng_signals); |
cmd_init (1); |
cmd_init (1); |
vty_init (master); |
vty_init (master); |
memory_init (); |
memory_init (); |
|
vrf_init (); |
|
|
/* RIPngd inits. */ |
/* RIPngd inits. */ |
ripng_init (); |
ripng_init (); |
zebra_init (); | zebra_init (master); |
ripng_peer_init (); |
ripng_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); |