mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-03 13:39:26 +00:00
Make geo database usage optional (#39)
This commit is contained in:
@ -41,7 +41,7 @@ func (d *DNS) Start() {
|
||||
}
|
||||
|
||||
func (d *DNS) Stop() {
|
||||
log.Printf("Stopping DNS server...")
|
||||
log.Print("Stopping DNS server...")
|
||||
if err := d.server.Shutdown(); err != nil {
|
||||
log.Printf("DNS server forced to shutdown: %s", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user