summaryrefslogtreecommitdiff
path: root/babeld
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-24 21:01:22 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:01:19 +0100
commit42eeea090e0e07de78763e3111e92f510d89c44c (patch)
tree7d8c18379c91c2d6b3c939fd7ae8e528940e7bbd /babeld
parent444bc5e237ca7d95c61f68e3a4951744058c9b64 (diff)
*: rename `frr_vtydir` to `frr_runstatedir`
Also remove frr_init_vtydir(), just initialize to default. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index 7122d6953b..31b5ed53d0 100644
--- a/babeld/babel_main.c
+++ b/babeld/babel_main.c
@@ -171,8 +171,8 @@ main(int argc, char **argv)
}
}
- snprintf(state_file, sizeof(state_file), "%s/%s",
- frr_vtydir, "babel-state");
+ snprintf(state_file, sizeof(state_file), "%s/%s", frr_runstatedir,
+ "babel-state");
/* create the threads handler */
master = frr_init ();