Skip to content

Commit

Permalink
minor fixes and print public IPs
Browse files Browse the repository at this point in the history
  • Loading branch information
mosajjal committed Aug 25, 2022
1 parent 6904b4d commit d9af3e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ func main() {
if c.DomainListPath == "" {
log.Warnf("Domain list (--domainListPath) is not specified, routing ALL domains through the SNI proxy")
c.AllDomains = true
} else if c.PublicIP != "" {
}
if c.PublicIP != "" {
log.Infof("Using Public IP: %s", c.PublicIP)
} else {
log.Fatalf("Could not automatically determine public IP. you should provide it manually using --publicIP")
Expand Down

0 comments on commit d9af3e1

Please sign in to comment.