summaryrefslogtreecommitdiffstats
path: root/vtysh
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-01-19 09:56:15 +0100
committerGitHub <noreply@github.com>2024-01-19 09:56:15 +0100
commit2844d093b562b9befb653c86e8b5e41e51e31b4d (patch)
tree63574b8f7482999b29b8ebabead32b0ea8353615 /vtysh
parentMerge pull request #15172 from donaldsharp/evpn_mh_bridge_fix (diff)
parentdoc: add doc for daemon-specific log cli (diff)
downloadfrr-2844d093b562b9befb653c86e8b5e41e51e31b4d.tar.xz
frr-2844d093b562b9befb653c86e8b5e41e51e31b4d.zip
Merge pull request #15168 from mjstapp/daemon_logs
lib,vtysh: add per-daemon log file config
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/.gitignore1
-rw-r--r--vtysh/subdir.am10
-rw-r--r--vtysh/vtysh.c2
3 files changed, 1 insertions, 12 deletions
diff --git a/vtysh/.gitignore b/vtysh/.gitignore
index 09e90e51d..a6c3d4abc 100644
--- a/vtysh/.gitignore
+++ b/vtysh/.gitignore
@@ -1,6 +1,5 @@
vtysh
vtysh_cmd.c
-vtysh_daemons.h
# does not exist anymore - remove 2023-10-04 or so
extract.pl
diff --git a/vtysh/subdir.am b/vtysh/subdir.am
index a1b81f598..2eae16d62 100644
--- a/vtysh/subdir.am
+++ b/vtysh/subdir.am
@@ -29,13 +29,3 @@ noinst_HEADERS += \
vtysh_vtysh_LDADD = lib/libfrr.la $(LIBCAP) $(LIBREADLINE) $(LIBS) $(LIBPAM)
EXTRA_DIST += vtysh/daemons.pl
-
-BUILT_SOURCES += vtysh/vtysh_daemons.h
-
-# force vtysh_daemons.h
-$(vtysh_vtysh_OBJECTS): vtysh/vtysh_daemons.h
-
-CLEANFILES += vtysh/vtysh_daemons.h
-vtysh/vtysh_daemons.h:
- @$(MKDIR_P) vtysh
- $(PERL) $(top_srcdir)/vtysh/daemons.pl $(vtysh_daemons) > vtysh/vtysh_daemons.h
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 2888403e6..d5ac87eb3 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -31,7 +31,7 @@
#include "network.h"
#include "filter.h"
#include "vtysh/vtysh.h"
-#include "vtysh/vtysh_daemons.h"
+#include "lib/vtysh_daemons.h"
#include "log.h"
#include "vrf.h"
#include "libfrr.h"