summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nhrpd/nhrp_main.c8
1 files 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,