summaryrefslogtreecommitdiffstats
path: root/pimd/pim_zlookup.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2010-02-04 03:08:58 +0100
committerDavid Lamparter <equinox@diac24.net>2010-02-04 03:08:58 +0100
commitd64aaf21c613c4ea3bcb41b718102126540c6d9e (patch)
tree8dfc10f8b03548eb7289643abac636a95fdf26e2 /pimd/pim_zlookup.c
parent406aadbf8ec3605115ba9a83d4994c2b61d0f5b3 (diff)
downloadquagga-d64aaf21c613c4ea3bcb41b718102126540c6d9e.tar.bz2
quagga-d64aaf21c613c4ea3bcb41b718102126540c6d9e.tar.xz
pimd: post-merge fixups
Diffstat (limited to 'pimd/pim_zlookup.c')
-rw-r--r--pimd/pim_zlookup.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pimd/pim_zlookup.c b/pimd/pim_zlookup.c
index 98548e79..5f3eeaba 100644
--- a/pimd/pim_zlookup.c
+++ b/pimd/pim_zlookup.c
@@ -29,6 +29,7 @@
#include "stream.h"
#include "network.h"
#include "thread.h"
+#include "paths.h"
#include "pimd.h"
#include "pim_pim.h"
@@ -66,14 +67,14 @@ static int zclient_lookup_connect(struct thread *t)
#else
zlog_debug("%s: FIXME blocking connect: zclient_socket_un()",
__PRETTY_FUNCTION__);
- zlookup->sock = zclient_socket_un(ZEBRA_SERV_PATH);
+ zlookup->sock = zclient_socket_un(path_state (ZEBRA_SERV_NAME));
if (zlookup->sock < 0) {
zlog_warn("%s: failure connecting UNIX socket %s",
- __PRETTY_FUNCTION__, ZEBRA_SERV_PATH);
+ __PRETTY_FUNCTION__, path_state (ZEBRA_SERV_NAME));
}
else if (zclient_debug) {
zlog_notice("%s: connected UNIX socket %s",
- __PRETTY_FUNCTION__, ZEBRA_SERV_PATH);
+ __PRETTY_FUNCTION__, path_state (ZEBRA_SERV_NAME));
}
#endif /* HAVE_TCP_ZEBRA */