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 = {
#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,