diff options
| author | Hung-Weic Chiu <sppsorrg@gmail.com> | 2017-05-02 15:42:31 +0000 |
|---|---|---|
| committer | Hung-Weic Chiu <sppsorrg@gmail.com> | 2017-05-02 15:42:31 +0000 |
| commit | 54b7b88bf5ed985fc66cce61b7bf1a29eed14589 (patch) | |
| tree | 7a64b6ec8d3140d52b32c800000bc92d46e59bbe /nhrpd/nhrp_main.c | |
| parent | fc25a6680d63b78f9c35d6f97908a74734f04df7 (diff) | |
Fix the wrong user/group for nhrpd.
- Modify the defince from quagga to frr
Signed-off-by: Hung-Weic Chiu <sppsorrg@gmail.com>
Diffstat (limited to 'nhrpd/nhrp_main.c')
| -rw-r--r-- | nhrpd/nhrp_main.c | 8 |
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, |
