summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Boutier <boutier@pps.jussieu.fr>2012-01-18 22:06:10 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:52 +0100
commit72db20bf8f6af1fd70ae42f287360cad835f042b (patch)
tree6bc7d807f5ef0bbba7f89059504a7f71cada1f46
parent3cb4134bcfb2b9f7aa885a39cc0efc3b18125490 (diff)
babeld: place the babel-state file in the quagga vars directory.
-rw-r--r--babeld/babel_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index 0a958e60..b7fffc1f 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 */