diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-20 18:10:30 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-20 18:18:44 +0100 |
commit | ae435b1972ab95b647e816da6a2dbb9951628218 (patch) | |
tree | 157435d20e9a8170d1477c5db58cd1f90f1b5f1c /ospfd/ospf_main.c | |
parent | build: remove INSTALL.quagga.txt (diff) | |
download | frr-ae435b1972ab95b647e816da6a2dbb9951628218.tar.xz frr-ae435b1972ab95b647e816da6a2dbb9951628218.zip |
build: replace some hardcoding with ./configure
Several places have paths and names that can change hardcoded, e.g. the
package name and the /var/run path. This fixes a few of them, there's
still some to do.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfd/ospf_main.c')
-rw-r--r-- | ospfd/ospf_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index 5309af5bf..e0719b397 100644 --- a/ospfd/ospf_main.c +++ b/ospfd/ospf_main.c @@ -360,8 +360,8 @@ main (int argc, char **argv) /* Create VTY socket */ if (instance) { - sprintf(pid_file, "/var/run/quagga/ospfd-%d.pid", instance); - sprintf(vty_path, "/var/run/quagga/ospfd-%d.vty", instance); + sprintf(pid_file, "%s/ospfd-%d.pid", DAEMON_VTY_DIR, instance); + sprintf(vty_path, "%s/ospfd-%d.vty", DAEMON_VTY_DIR, instance); } else { |