Skip to content
Merged
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
6 changes: 3 additions & 3 deletions IP4Config.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ type IP4Config interface {
GetPropertyDnsOptions() ([]string, error)

// GetPropertyDnsPriority The relative priority of DNS servers.
GetPropertyDnsPriority() (uint32, error)
GetPropertyDnsPriority() (int32, error)

// GetPropertyWinsServerData The Windows Internet Name Service servers associated with the connection.
GetPropertyWinsServerData() ([]string, error)
Expand Down Expand Up @@ -304,8 +304,8 @@ func (c *ip4Config) GetPropertyDnsOptions() ([]string, error) {
return c.getSliceStringProperty(IP4ConfigPropertyDnsOptions)
}

func (c *ip4Config) GetPropertyDnsPriority() (uint32, error) {
return c.getUint32Property(IP4ConfigPropertyDnsPriority)
func (c *ip4Config) GetPropertyDnsPriority() (int32, error) {
return c.getInt32Property(IP4ConfigPropertyDnsPriority)
}

func (c *ip4Config) GetPropertyWinsServerData() ([]string, error) {
Expand Down
6 changes: 3 additions & 3 deletions IP6Config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type IP6Config interface {
GetPropertyDnsOptions() ([]string, error)

// GetPropertyDnsPriority The relative priority of DNS servers.
GetPropertyDnsPriority() (uint32, error)
GetPropertyDnsPriority() (int32, error)

MarshalJSON() ([]byte, error)
}
Expand Down Expand Up @@ -210,8 +210,8 @@ func (c *ip6Config) GetPropertyDnsOptions() ([]string, error) {
return c.getSliceStringProperty(IP6ConfigPropertyDnsOptions)
}

func (c *ip6Config) GetPropertyDnsPriority() (uint32, error) {
return c.getUint32Property(IP6ConfigPropertyDnsPriority)
func (c *ip6Config) GetPropertyDnsPriority() (int32, error) {
return c.getInt32Property(IP6ConfigPropertyDnsPriority)
}

func (c *ip6Config) MarshalJSON() ([]byte, error) {
Expand Down