diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-04 03:08:58 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-04 03:08:58 +0100 |
commit | d64aaf21c613c4ea3bcb41b718102126540c6d9e (patch) | |
tree | 8dfc10f8b03548eb7289643abac636a95fdf26e2 /pimd/pim_zlookup.c | |
parent | 406aadbf8ec3605115ba9a83d4994c2b61d0f5b3 (diff) | |
download | quagga-d64aaf21c613c4ea3bcb41b718102126540c6d9e.tar.bz2 quagga-d64aaf21c613c4ea3bcb41b718102126540c6d9e.tar.xz |
pimd: post-merge fixups
Diffstat (limited to 'pimd/pim_zlookup.c')
-rw-r--r-- | pimd/pim_zlookup.c | 7 |
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 */ |