summaryrefslogtreecommitdiffstats
path: root/lib/libfrr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-01-08 14:08:13 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-05-31 16:06:42 +0200
commit2950f5da55af16c8efd1ca24f714e9d69c602503 (patch)
treef0fb34f79c0dc851a405b58fa3df719f752e8368 /lib/libfrr.h
parentMerge pull request #4315 from lkrishnamoor/route_map_3rd_state (diff)
downloadfrr-2950f5da55af16c8efd1ca24f714e9d69c602503.tar.xz
frr-2950f5da55af16c8efd1ca24f714e9d69c602503.zip
lib: Add '--command-log-always` to all daemons startup
Add 'no log commands' cli and at the same time add a --command-log-always to the daemon startup cli. If --command-log-always is specified then all commands are auto-logged and the 'no log commands' form of the command is now ignored. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r--lib/libfrr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h
index 891e2c128..d17495e04 100644
--- a/lib/libfrr.h
+++ b/lib/libfrr.h
@@ -97,6 +97,8 @@ struct frr_daemon_info {
const struct frr_yang_module_info **yang_modules;
size_t n_yang_modules;
+
+ bool log_always;
};
/* execname is the daemon's executable (and pidfile and configfile) name,