argv += optind;
(void) argc;
- for(auto p = argv; *p; ++p) {
+ for (auto p = argv; *p; ++p) {
if(g_cmdLine.beClient) {
clientAddress = ComboAddress(*p, 5199);
} else {
#endif
}
+ infolog("dnsdist %s comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2", VERSION);
+
dnsdist::g_asyncHolder = std::make_unique<dnsdist::AsynchronousHolder>();
auto todo = setupLua(*(g_lua.lock()), false, false, g_cmdLine.config);
}
}
- for(const auto& loc : g_cmdLine.locals) {
+ for (const auto& loc : g_cmdLine.locals) {
/* UDP */
g_frontends.push_back(std::unique_ptr<ClientState>(new ClientState(ComboAddress(loc, 53), false, false, 0, "", {})));
/* TCP */
}
}
- infolog("dnsdist %s comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2", VERSION);
-
vector<string> vec;
std::string acls;
g_ACL.getLocal()->toStringVector(&vec);