Skip to content

Commit 2e49f0f

Browse files
committed
remove note
1 parent 0051549 commit 2e49f0f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

p2p/nat/natpmp.go

-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ func (n *pmp) AddMapping(protocol string, extport, intport int, name string, lif
5858
// NAT-PMP maps an alternative available port number if the requested port
5959
// is already mapped to another address and returns success. Handling of
6060
// alternate port numbers is done by the caller.
61-
//
62-
// note: The result of AddPortMapping has several fields, but returns only
63-
// MappedExternalPort(no other fields are used).
6461
return res.MappedExternalPort, nil
6562
}
6663

0 commit comments

Comments
 (0)