mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-10-19 14:35:11 +08:00
run gofmt -s
This commit is contained in:
@@ -131,8 +131,8 @@ func (nmgr *natManager) sync() {
|
||||
// new mappings.
|
||||
func (nmgr *natManager) doSync() {
|
||||
ports := map[string]map[int]bool{
|
||||
"tcp": map[int]bool{},
|
||||
"udp": map[int]bool{},
|
||||
"tcp": {},
|
||||
"udp": {},
|
||||
}
|
||||
for _, maddr := range nmgr.net.ListenAddresses() {
|
||||
// Strip the IP
|
||||
|
Reference in New Issue
Block a user