diff --git a/Device.go b/Device.go index 1995c7c..d38ba07 100644 --- a/Device.go +++ b/Device.go @@ -139,7 +139,7 @@ func (d *device) GetState() NmDeviceState { } func (d *device) GetIP4Config() IP4Config { - path := d.getObjectProperty(DevicePropertyIp4Address) + path := d.getObjectProperty(DevicePropertyIp4Config) if path == "/" { return nil } diff --git a/README.md b/README.md index c2dc6be..e0b88e5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ gonetworkmanager Go D-Bus bindings for NetworkManager. -Currently tested with NetworkManager 0.9.8.10. +Currently tested with NetworkManager 1.16.0. [![GoDoc](https://godoc.org/github.com/BellerophonMobile/gonetworkmanager?status.svg)](https://godoc.org/github.com/BellerophonMobile/gonetworkmanager)