From e0fce5fe50a66b1cfb8f0ade1857029a7fa460a5 Mon Sep 17 00:00:00 2001 From: Beldur Date: Thu, 1 Jan 2015 21:59:57 +0100 Subject: [PATCH] Fixed DeletePortMapping documentation typo --- upnp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upnp.go b/upnp.go index 04d504cf..172d9eba 100644 --- a/upnp.go +++ b/upnp.go @@ -383,7 +383,7 @@ func (n *upnpNAT) AddPortMapping(protocol string, externalPort, internalPort int 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. func (n *upnpNAT) DeletePortMapping(protocol string, externalPort, internalPort int) (err error) {