diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-02 16:42:51 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-02-02 16:42:51 +0100 |
commit | 1a35e2e56533f75d68ed30bf24b3c131da4ba950 (patch) | |
tree | 068c7730ed7a58d5374d8123d81720597b40bbcd /ldpd/ldpe.c | |
parent | Merge pull request #135 from LabNConsulting/working/master/patch-set/misc+vrf (diff) | |
parent | Merge pull request #153 from LabNConsulting/working/2.0/patch-set/rr-part2 (diff) | |
download | frr-1a35e2e56533f75d68ed30bf24b3c131da4ba950.tar.xz frr-1a35e2e56533f75d68ed30bf24b3c131da4ba950.zip |
Merge remote-tracking branch 'origin/stable/2.0'
Diffstat (limited to 'ldpd/ldpe.c')
-rw-r--r-- | ldpd/ldpe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ldpd/ldpe.c b/ldpd/ldpe.c index 0b441c181..7dcc8fbe1 100644 --- a/ldpd/ldpe.c +++ b/ldpd/ldpe.c @@ -99,7 +99,7 @@ static struct quagga_signal_t ldpe_signals[] = /* label distribution protocol engine */ void -ldpe(const char *user, const char *group) +ldpe(const char *user, const char *group, const char *ctl_path) { struct thread thread; @@ -128,6 +128,7 @@ ldpe(const char *user, const char *group) ldpe_privs.group = group; zprivs_init(&ldpe_privs); + strlcpy(ctl_sock_path, ctl_path, sizeof(ctl_sock_path)); if (control_init() == -1) fatalx("control socket setup failed"); |