diff options
author | ßingen <bingen@voltanet.io> | 2017-11-13 21:41:58 +0100 |
---|---|---|
committer | ßingen <bingen@voltanet.io> | 2018-01-05 14:08:05 +0100 |
commit | 7bfe377d63f41d21e0b7dece264bcf54a197ac13 (patch) | |
tree | 6d8f5122828bb19651e1bafd4eace017e370ab6a /zebra/label_manager.c | |
parent | Merge pull request #1594 from donaldsharp/32_bit_fuckery (diff) | |
download | frr-7bfe377d63f41d21e0b7dece264bcf54a197ac13.tar.xz frr-7bfe377d63f41d21e0b7dece264bcf54a197ac13.zip |
ldpd: Add privs to label manager
Signed-off-by: ßingen <bingen@voltanet.io>
Diffstat (limited to 'zebra/label_manager.c')
-rw-r--r-- | zebra/label_manager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/label_manager.c b/zebra/label_manager.c index bf4522b70..f38206d8e 100644 --- a/zebra/label_manager.c +++ b/zebra/label_manager.c @@ -41,6 +41,8 @@ struct label_manager lbl_mgr; +extern struct zebra_privs_t zserv_privs; + DEFINE_MGROUP(LBL_MGR, "Label Manager"); DEFINE_MTYPE_STATIC(LBL_MGR, LM_CHUNK, "Label Manager Chunk"); @@ -222,6 +224,7 @@ static void lm_zclient_init(char *lm_zserv_path) /* Set default values. */ zclient = zclient_new_notify(zebrad.master, &zclient_options_default); + zclient->privs = &zserv_privs; zclient->sock = -1; zclient->t_connect = NULL; lm_zclient_connect(NULL); |