Correct service names, add standards reference.

This commit is contained in:
John Beisley 2013-09-28 18:07:05 +01:00
parent fdb21f966f
commit b36f8b301e

View File

@ -11,10 +11,11 @@ import (
// Non-exhaustive set of UPnP service types. // Non-exhaustive set of UPnP service types.
const ( const (
ServiceTypeLayer3Forwarding = "urn:schemas-upnp-org:service:Layer3Forwarding:1" 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 // WANPPPConnection is typically useful with regard to the external IP and
// port forwarding. // 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. // Non-exhaustive set of UPnP device types.