mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
fix lint
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
41da77aefc
commit
c118dfa54c
2 changed files with 0 additions and 2 deletions
|
|
@ -83,7 +83,6 @@ func (n *upnp) ExternalIP() (addr net.IP, err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (n *upnp) AddMapping(protocol string, extport, intport int, desc string, lifetime time.Duration) (uint16, error) {
|
func (n *upnp) AddMapping(protocol string, extport, intport int, desc string, lifetime time.Duration) (uint16, error) {
|
||||||
|
|
||||||
ip, err := n.internalAddress()
|
ip, err := n.internalAddress()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
|
|
|
||||||
|
|
@ -198,7 +198,6 @@ func (srv *Server) portMappingLoop() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
m.nextTime = srv.clock.Now().Add(portMapRefreshInterval)
|
m.nextTime = srv.clock.Now().Add(portMapRefreshInterval)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue