From d81fadfd889aa7bc657fa19752344a585e8c274a Mon Sep 17 00:00:00 2001 From: paul Date: Thu, 14 Aug 2003 05:32:12 +0000 Subject: 2003-08-14 Paul Jakma * zebra/main.c: Fixup ZEBRA_{GROUP,USER} defines -> QUAGGA_{USER,GROUP} * bgpd/bgp_main.c: ditto * ospf6d/ospf6_main.c: ditto * ospfd/ospf_main.c: ditto * ripd/rip_main.c: ditto * ripngd/ripng_main.c: ditto * zebra/main.c: ditto --- bgpd/bgp_main.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'bgpd/bgp_main.c') diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index f3c2f3e1..04729229 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -80,9 +80,12 @@ zebra_capabilities_t _caps_p [] = struct zebra_privs_t bgpd_privs = { -#if defined(ZEBRA_USER) && defined(ZEBRA_GROUP) - .user = ZEBRA_USER, - .group = ZEBRA_GROUP, +#if defined(QUAGGA_USER) && defined(QUAGGA_GROUP) + .user = QUAGGA_USER, + .group = QUAGGA_GROUP, +#endif +#ifdef VTY_GROUP + .vty_group = VTY_GROUP, #endif .caps_p = _caps_p, .cap_num_p = sizeof(_caps_p)/sizeof(_caps_p[0]), -- cgit v1.2.1