summaryrefslogtreecommitdiffstats
path: root/pimd/pim_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-01-18 03:01:56 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-01-18 03:01:56 +0100
commitb58ed1f8a89ea32c2380bf79057e5333109d72d4 (patch)
treea9ead45b8895edce92ab69621a52816b45725e36 /pimd/pim_main.c
parentpimd: make the json output a bit more machine-friendly (diff)
parentMerge pull request #82 from opensourcerouting/queue/ldp-xml2cli-build (diff)
downloadfrr-b58ed1f8a89ea32c2380bf79057e5333109d72d4.tar.xz
frr-b58ed1f8a89ea32c2380bf79057e5333109d72d4.zip
Merge remote-tracking branch 'origin/master' into pim_lib_work2
Diffstat (limited to 'pimd/pim_main.c')
-rw-r--r--pimd/pim_main.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c
index 7fc9bc524..e7b86a040 100644
--- a/pimd/pim_main.c
+++ b/pimd/pim_main.c
@@ -16,7 +16,10 @@
along with this program; see the file COPYING; if not, write to the
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301 USA
+<<<<<<< HEAD
+=======
+>>>>>>> origin/master
*/
#include <zebra.h>
@@ -76,9 +79,9 @@ zebra_capabilities_t _caps_p [] =
/* pimd privileges to run with */
struct zebra_privs_t pimd_privs =
{
-#if defined(QUAGGA_USER) && defined(QUAGGA_GROUP)
- .user = QUAGGA_USER,
- .group = QUAGGA_GROUP,
+#if defined(FRR_USER) && defined(FRR_GROUP)
+ .user = FRR_USER,
+ .group = FRR_GROUP,
#endif
#ifdef VTY_GROUP
.vty_group = VTY_GROUP,
@@ -166,7 +169,7 @@ int main(int argc, char** argv, char** envp) {
break;
case 'v':
printf(PIMD_PROGNAME " version %s\n", PIMD_VERSION);
- print_version(QUAGGA_PROGNAME);
+ print_version(progname);
exit (0);
break;
case 'h':
@@ -181,7 +184,7 @@ int main(int argc, char** argv, char** envp) {
master = thread_master_create();
zlog_notice("Quagga %s " PIMD_PROGNAME " %s starting",
- QUAGGA_VERSION, PIMD_VERSION);
+ FRR_VERSION, PIMD_VERSION);
/*
* Initializations
@@ -232,7 +235,7 @@ int main(int argc, char** argv, char** envp) {
vty_serv_sock(vty_addr, vty_port, PIM_VTYSH_PATH);
zlog_notice("Quagga %s " PIMD_PROGNAME " %s starting, VTY interface at port TCP %d",
- QUAGGA_VERSION, PIMD_VERSION, vty_port);
+ FRR_VERSION, PIMD_VERSION, vty_port);
#ifdef PIM_DEBUG_BYDEFAULT
zlog_notice("PIM_DEBUG_BYDEFAULT: Enabling all debug commands");
@@ -256,12 +259,6 @@ int main(int argc, char** argv, char** envp) {
zlog_notice("PIM_UNEXPECTED_KERNEL_UPCALL: report unexpected kernel upcall");
#endif
-#ifdef HAVE_CLOCK_MONOTONIC
- zlog_notice("HAVE_CLOCK_MONOTONIC");
-#else
- zlog_notice("!HAVE_CLOCK_MONOTONIC");
-#endif
-
while (thread_fetch(master, &thread))
thread_call(&thread);