From db0516ace09969cba08f5a6aaddf97b29b5ecb78 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 14 Oct 2009 18:27:40 +0200 Subject: lib: fs namespacing 3/5: use path_state for zserv socket this uses the path_state helper for determining the path of quagga's zserv.api socket. this allows for running multiple instances of zebra each with its own interface. --- lib/zclient.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/zclient.h') diff --git a/lib/zclient.h b/lib/zclient.h index 21786ab8..6a63ffa4 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -28,6 +28,9 @@ /* For input/output buffer to zebra. */ #define ZEBRA_MAX_PACKET_SIZ 4096 +/* Name of the zebra API socket */ +#define ZEBRA_SERV_NAME "zserv.api" + /* Zebra header size. */ #define ZEBRA_HEADER_SIZE 6 -- cgit v1.2.3