Fixed DeletePortMapping documentation typo
This commit is contained in:
parent
08257ac529
commit
e0fce5fe50
1 changed files with 1 additions and 1 deletions
2
upnp.go
2
upnp.go
|
@ -383,7 +383,7 @@ func (n *upnpNAT) AddPortMapping(protocol string, externalPort, internalPort int
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddPortMapping implements the NAT interface by removing up a port forwarding
|
// DeletePortMapping implements the NAT interface by removing up a port forwarding
|
||||||
// from the UPnP router to the local machine with the given ports and.
|
// from the UPnP router to the local machine with the given ports and.
|
||||||
func (n *upnpNAT) DeletePortMapping(protocol string, externalPort, internalPort int) (err error) {
|
func (n *upnpNAT) DeletePortMapping(protocol string, externalPort, internalPort int) (err error) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue