Fixed DeletePortMapping documentation typo

This commit is contained in:
Beldur 2015-01-01 21:59:57 +01:00
parent 08257ac529
commit e0fce5fe50

View file

@ -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) {