Fixed invalid range
This commit is contained in:
parent
85df6e096f
commit
512aa54700
@ -264,7 +264,7 @@ int main(int argc, char** argv) {
|
||||
if(!cfgErrors.empty()){
|
||||
logErrorFmt(true, LOG_GENERAL, "Could not load configuration. Errors: (" + to_string(cfgErrors.size()) + ")");
|
||||
for(const auto& entry : cfgErrors)
|
||||
logError(true, LOG_GENERAL, " - {}", entry);
|
||||
logErrorFmt(true, LOG_GENERAL, " - {}", entry);
|
||||
logErrorFmt(true, LOG_GENERAL, "Stopping server...");
|
||||
goto stopApp;
|
||||
}
|
||||
|
@ -1485,7 +1485,7 @@ std::deque<std::shared_ptr<EntryBinding>> config::create_bindings() {
|
||||
}
|
||||
{
|
||||
CREATE_BINDING("webrtc.stun.port", 0);
|
||||
BIND_INTEGRAL(config::web::stun_port, 19302, 1, 65565);
|
||||
BIND_INTEGRAL(config::web::stun_port, 19302, 1, 0xFFFF);
|
||||
ADD_DESCRIPTION("Port of the stun server");
|
||||
ADD_NOTE_RELOADABLE();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user