From 54b7b88bf5ed985fc66cce61b7bf1a29eed14589 Mon Sep 17 00:00:00 2001 From: Hung-Weic Chiu Date: Tue, 2 May 2017 15:42:31 +0000 Subject: [PATCH] Fix the wrong user/group for nhrpd. - Modify the defince from quagga to frr Signed-off-by: Hung-Weic Chiu --- nhrpd/nhrp_main.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c index 2f6ee1c04f..a44ce35bb8 100644 --- a/nhrpd/nhrp_main.c +++ b/nhrpd/nhrp_main.c @@ -44,11 +44,9 @@ static zebra_capabilities_t _caps_p [] = { }; static struct zebra_privs_t nhrpd_privs = { -#ifdef QUAGGA_USER - .user = QUAGGA_USER, -#endif -#ifdef QUAGGA_GROUP - .group = QUAGGA_GROUP, +#if defined(FRR_USER) && defined(FRR_GROUP) + .user = FRR_USER, + .group = FRR_GROUP, #endif #ifdef VTY_GROUP .vty_group = VTY_GROUP,