From e4d1706031540ae74ff104c44adeb735ee0bfcf4 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sat, 7 Sep 2019 12:43:04 +0100 Subject: Add a configuration option to include the date in the timestamp when replaying the replay log. --- blabouncer.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'blabouncer.c') diff --git a/blabouncer.c b/blabouncer.c index 17ce41c..7d8dc06 100644 --- a/blabouncer.c +++ b/blabouncer.c @@ -935,6 +935,13 @@ int main(int argc, char *argv[]) { exit(1); } + // Should sending replay logs include a datestamp? + settings.replaydates= getconfint("replaydates", settings.conffile); + if (errno == ECONFINT) { + printf("main(): error getting 'replaydates' from configuration file.\n"); + exit(1); + } + // What is the bouncer password? if (!getconfstr("password", settings.conffile, settings.password)) { printf("main(): error getting 'password' from configuration file.\n"); -- cgit v1.2.3