Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dbus.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func DBusTechnology(tech dbus.ObjectPath) (*DBusInterface, error) {

func setField(dst interface{}, key string, val dbus.Variant) error {
key = strings.Replace(key, ".", "", -1)
key = strings.Title(key)

sv := reflect.ValueOf(dst).Elem()
sfv := sv.FieldByName(key)
Expand Down
2 changes: 2 additions & 0 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ type Service struct {
AutoConnect bool
Immutable bool
Roaming bool
MDNS bool
MDNSConfiguration bool

Ethernet EthConfig
IPv4 IPv4Config
Expand Down