From b36f8b301ebc206e17051af027f753f959b609c4 Mon Sep 17 00:00:00 2001 From: John Beisley Date: Sat, 28 Sep 2013 18:07:05 +0100 Subject: [PATCH] Correct service names, add standards reference. --- goupnp.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/goupnp.go b/goupnp.go index 50855c5..a0d14a5 100644 --- a/goupnp.go +++ b/goupnp.go @@ -11,10 +11,11 @@ import ( // Non-exhaustive set of UPnP service types. const ( ServiceTypeLayer3Forwarding = "urn:schemas-upnp-org:service:Layer3Forwarding:1" - ServiceTypeWANCommonInterfaceConfig = "WANCommonInterfaceConfig:1" + ServiceTypeWANCommonInterfaceConfig = "urn:schemas-upnp-org:WANCommonInterfaceConfig:1" // WANPPPConnection is typically useful with regard to the external IP and // port forwarding. - ServiceTypeWANPPPConnection = "WANPPPConnection:1" + // http://upnp.org/specs/gw/UPnP-gw-WANPPPConnection-v1-Service.pdf + ServiceTypeWANPPPConnection = "urn:schemas-upnp-org:WANPPPConnection:1" ) // Non-exhaustive set of UPnP device types.