Revert flags type usage to be able to use multiple flags
This commit is contained in:
parent
5f9a5ef78d
commit
03507ea528
1 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ type ActiveConnection interface {
|
|||
GetState() NmActiveConnectionState
|
||||
|
||||
// GetStateFlags gets the state flags of the connection.
|
||||
GetStateFlags() NmActivationStateFlag
|
||||
GetStateFlags() uint32
|
||||
|
||||
// GetDefault gets the default IPv4 flag of the connection.
|
||||
GetDefault() bool
|
||||
|
@ -123,8 +123,8 @@ func (a *activeConnection) GetState() NmActiveConnectionState {
|
|||
return NmActiveConnectionState(a.getUint32Property(ActiveConnectionPropertyState))
|
||||
}
|
||||
|
||||
func (a *activeConnection) GetStateFlags() NmActivationStateFlag {
|
||||
return NmActivationStateFlag(a.getUint32Property(ActiveConnectionPropertyStateFlags))
|
||||
func (a *activeConnection) GetStateFlags() uint32 {
|
||||
return a.getUint32Property(ActiveConnectionPropertyStateFlags)
|
||||
}
|
||||
|
||||
func (a *activeConnection) GetDefault() bool {
|
||||
|
|
Reference in a new issue