Fix bad refactor
This commit is contained in:
parent
3eddf987a8
commit
30a232a612
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
||||
[](https://godoc.org/github.com/BellerophonMobile/gonetworkmanager)
|
||||
|
||||
|
|
Reference in a new issue