Merge pull request #438 from hwchiu/fix_nhrpd_privs

Fix the error when execute nhrpd
This commit is contained in:
Donald Sharp 2017-05-02 14:20:43 -04:00 committed by GitHub
commit 8f5f5e1ad3

View File

@ -44,11 +44,9 @@ static zebra_capabilities_t _caps_p [] = {
}; };
static struct zebra_privs_t nhrpd_privs = { static struct zebra_privs_t nhrpd_privs = {
#ifdef QUAGGA_USER #if defined(FRR_USER) && defined(FRR_GROUP)
.user = QUAGGA_USER, .user = FRR_USER,
#endif .group = FRR_GROUP,
#ifdef QUAGGA_GROUP
.group = QUAGGA_GROUP,
#endif #endif
#ifdef VTY_GROUP #ifdef VTY_GROUP
.vty_group = VTY_GROUP, .vty_group = VTY_GROUP,