summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-12-10 10:54:27 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-10-21 13:49:38 +0200
commitdb52be551b4786d1e086d5830c11a9f9e0275f1f (patch)
tree48425a7e97462d5e5ec474c900b266522a551a33
parent3c8161eaa88f6ae181637b8ad7d3a39399470cee (diff)
nhrpd: align nhrp privs with definition from others
nhrp_privs global context is aligned with other daemon contexts Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
-rw-r--r--nhrpd/nhrp_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index 73684046a8..4c98f02e1d 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -55,8 +55,10 @@ struct zebra_privs_t nhrpd_privs = {
#endif
.caps_p = _caps_p,
.cap_num_p = array_size(_caps_p),
+ .cap_num_i = 0
};
+
static void parse_arguments(int argc, char **argv)
{
int opt;