summaryrefslogtreecommitdiffstats
path: root/pimd/pim_main.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: zclient.c remove extern struct thread_master *Donald Sharp2015-10-271-1/+1
| | | | | | | | | | | | zclient.c depended upon link time inclusion of a extern struct thread_master *master. This is a violation of the namespace of the calling daemon. If a library needs the pointer pass it in and save it for future use. This code change also makes the zclient code consistent with the other lib functions that need to schedule work on your behalf Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* pimd: Remove stdout zlog changesDonald Sharp2015-09-241-17/+1
| | | | | | | Quagga start has unnecessary pim messages to stdout. Causing some confusion. Logging is already saving this information in pimd.log Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* *: call if_init()/if_terminate() from vrf_init()/vrf_terminate()Feng Lu2015-06-021-0/+2
| | | | | | | | | | | | | | | | | | Later, an interface will belong to a specific VRF, and the interface initialization will be a part of the VRF initialization. So now call if_init() from vrf_init(), and if_terminate() from vrf_terminate(). Daemons have the according changes: - if if_init() was called or "iflist" was initialized, now call vrf_init() instead; - if if_terminate() was called or "iflist" was destroyed, now call vrf_terminate() instead. Signed-off-by: Feng Lu <lu.feng@6wind.com> Reviewed-by: Alain Ritoux <alain.ritoux@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Vincent JARDIN <vincent.jardin@6wind.com> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* pimd: Fix configuration file reading upon startupDonald Sharp2015-02-041-6/+5
| | | | | | | | Without the fix, qpimd issues this error message: pim_if_add_vif: ifindex=0 < 1 on interface swp1 It happens because in pim_main.c:main() we are initializing zebra with pim_zebra_init() after we read in the configuration with vty_read_config(). See also: https://github.com/udhos/qpimd/issues/3
* pimd: Simplify gettime-related code.Everton Marques2015-02-041-8/+0
|
* pimd: Fix log about PIM_USE_QUAGGA_GETTIME.Everton Marques2015-02-041-1/+1
|
* pimd: Remove motd tweaking.Everton Marques2015-02-041-13/+0
|
* pimd: Remove unused pim checksum in favour of quagga's version.Everton Marques2015-02-041-4/+0
|
* pimd: -z command-line switch to specify zebra socket path.Everton Marques2015-02-041-2/+8
|
* pimd: Fixes to build against current quagga.Everton Marques2015-02-041-1/+0
|
* [pim] Work-around improper monotonic clockEverton Marques2015-02-041-0/+8
|
* [pim] Version up to 0.161Everton Marques2015-02-041-0/+6
|
* [pim] pim commands added to vtyshLeonard Herve2015-02-041-0/+25
|
* [pim] Initial pim 0.155Everton Marques2015-02-041-0/+276