From: Matthieu Boutier Date: Wed, 18 Jan 2012 21:06:10 +0000 (+0100) Subject: babeld: place the babel-state file in the quagga vars directory. X-Git-Tag: frr-2.0-rc1~1871^2~50 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=72db20bf8f6af1fd70ae42f287360cad835f042b;p=matthieu%2Ffrr.git babeld: place the babel-state file in the quagga vars directory. --- diff --git a/babeld/babel_main.c b/babeld/babel_main.c index 0a958e606c..b7fffc1fed 100644 --- a/babeld/babel_main.c +++ b/babeld/babel_main.c @@ -93,7 +93,7 @@ const unsigned char ones[16] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; -static const char *state_file = "/var/lib/babeld/babel-state"; +static const char *state_file = DAEMON_VTY_DIR "/babel-state"; unsigned char protocol_group[16]; /* babel's link-local multicast address */ int protocol_port; /* babel's port */