Skip to content

Commit

Permalink
Change if..else condition in CommonCliOptions
Browse files Browse the repository at this point in the history
no functional changess
  • Loading branch information
mach6 committed Apr 25, 2018
1 parent 44c57e3 commit cd0618e
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -143,11 +143,10 @@ void fillCommonConfiguration(StandaloneConfiguration configuration) {
if (log != null) {
configuration.log = log;
}
if (host != null) {
configuration.host = host;
} else if (host == null) {
if (host == null) {
host = "0.0.0.0"; //default to all IPv4 interfaces
}
configuration.host = host;
if (port != null) {
configuration.port = port;
}
Expand Down

0 comments on commit cd0618e

Please sign in to comment.