Fix bug introduced by removing pointer indirection.
This commit is contained in:
1 parent
c86636d636
commit
33980ebacf
2 files changed
+7
-7
No files matched your search
@@ -24,7 +24,7 @@ func displayDevice(indent indentLevel, device *goupnp.Device) {
|
||||
if srv.ServiceType == goupnp.ServiceTypeWANPPPConnection {
|
||||
results, err := goupnp.PerformSoapAction(goupnp.ServiceTypeWANPPPConnection, "GetExternalIPAddress", &srv.ControlURL.URL, nil)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
fmt.Println("Error calling GetExternalIPAddress:", err)
|
||||
} else {
|
||||
fmt.Println(results)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user