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 ++++++--- ospf6d/ospf6_main.c | 11 +++++++---- ospfd/ospf_main.c | 6 +++--- ripd/rip_main.c | 11 +++++++---- ripngd/ripng_main.c | 11 +++++++---- zebra/main.c | 6 +++--- 6 files changed, 33 insertions(+), 21 deletions(-) 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]), diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 6356879a..be46f3fe 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -53,11 +53,14 @@ zebra_capabilities_t _caps_p [] = struct zebra_privs_t ospf6d_privs = { -#if defined(ZEBRA_USER) - .user = ZEBRA_USER, +#if defined(QUAGGA_USER) + .user = QUAGGA_USER, #endif -#if defined ZEBRA_GROUP - .group = ZEBRA_GROUP, +#if defined QUAGGA_GROUP + .group = QUAGGA_GROUP, +#endif +#ifdef VTY_GROUP + .vty_group = VTY_GROUP, #endif .caps_p = _caps_p, .cap_num_p = 2, diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index 1da285bd..51fa7b58 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -60,9 +60,9 @@ zebra_capabilities_t _caps_p [] = struct zebra_privs_t ospfd_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 #if defined(VTY_GROUP) .vty_group = VTY_GROUP, diff --git a/ripd/rip_main.c b/ripd/rip_main.c index d5713208..a87e3b7e 100644 --- a/ripd/rip_main.c +++ b/ripd/rip_main.c @@ -58,11 +58,14 @@ zebra_capabilities_t _caps_p [] = struct zebra_privs_t ripd_privs = { -#if defined(ZEBRA_USER) - .user = ZEBRA_USER, +#if defined(QUAGGA_USER) + .user = QUAGGA_USER, #endif -#if defined ZEBRA_GROUP - .group = ZEBRA_GROUP, +#if defined QUAGGA_GROUP + .group = QUAGGA_GROUP, +#endif +#ifdef VTY_GROUP + .vty_group = VTY_GROUP, #endif .caps_p = _caps_p, .cap_num_p = 2, diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 6c335252..9b762674 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -66,11 +66,14 @@ zebra_capabilities_t _caps_p [] = struct zebra_privs_t ripngd_privs = { -#if defined(ZEBRA_USER) - .user = ZEBRA_USER, +#if defined(QUAGGA_USER) + .user = QUAGGA_USER, #endif -#if defined ZEBRA_GROUP - .group = ZEBRA_GROUP, +#if defined QUAGGA_GROUP + .group = QUAGGA_GROUP, +#endif +#ifdef VTY_GROUP + .vty_group = VTY_GROUP, #endif .caps_p = _caps_p, .cap_num_p = 2, diff --git a/zebra/main.c b/zebra/main.c index c9a19eda..98227ea5 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -80,9 +80,9 @@ zebra_capabilities_t _caps_p [] = /* zebra privileges to run with */ struct zebra_privs_t zserv_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, -- cgit v1.2.1