summaryrefslogtreecommitdiffstats
path: root/nhrpd/vici.c
diff options
context:
space:
mode:
authorZoran Pericic <zpericic@netst.org>2020-01-25 19:38:39 +0100
committerZoran Peričić <zpericic@netst.org>2020-10-12 19:34:53 +0200
commit354196c027e81affb05163a6c3676eef1ba06dd9 (patch)
tree21ba82f823b772d559f1d0b4a3a92fa136dca3c5 /nhrpd/vici.c
parentMerge pull request #6927 from donaldsharp/16_coverity (diff)
downloadfrr-354196c027e81affb05163a6c3676eef1ba06dd9.tar.xz
frr-354196c027e81affb05163a6c3676eef1ba06dd9.zip
nhrp: Make vici socket path configurable
nhrp: Configure vici socket path using configure --with-vici-socket=/var/run/charon.vici If not specified default to /var/run/charon.vici Signed-off-by: Zoran Peričić <zpericic@netst.org>
Diffstat (limited to '')
-rw-r--r--nhrpd/vici.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/vici.c b/nhrpd/vici.c
index 2dc05a4aa..86554f53d 100644
--- a/nhrpd/vici.c
+++ b/nhrpd/vici.c
@@ -478,7 +478,7 @@ static int vici_reconnect(struct thread *t)
if (vici->fd >= 0)
return 0;
- fd = sock_open_unix("/var/run/charon.vici");
+ fd = sock_open_unix(VICI_SOCKET);
if (fd < 0) {
debugf(NHRP_DEBUG_VICI,
"%s: failure connecting VICI socket: %s", __func__,