]> git.puffer.fish Git - mirror/frr.git/commit
Fix the error message when execute ldpd with --enable-tcp-zebra 452/head
authorHung-Weic Chiu <sppsorrg@gmail.com>
Wed, 3 May 2017 13:27:29 +0000 (13:27 +0000)
committerHung-Weic Chiu <sppsorrg@gmail.com>
Wed, 3 May 2017 13:30:46 +0000 (13:30 +0000)
commit2a3886acd567bb6c14fcd4467cdbe33fff16a33d
tree0203c63e540c649bb25d244c168e7e782a56874f
parent5503498dda776eef74bded6b4818246a997bd786
Fix the error message when execute ldpd with --enable-tcp-zebra

- If we use the option "--enable-tcp-zebra " to configure, the zclient will use the tcp socket instead of unix domain socket.
- The ldpd will pass the "-z path" options to `frr_opt` and that will execute zclient_serv_path_set to check the domain socket.
- Add the define to ldpd, if the "HAVE_TCP_ZEBRA" has been define, don't pass the "-z path" to `frr_opt`.

Signed-off-by: Hung-Weic Chiu <sppsorrg@gmail.com>
ldpd/ldpd.c