database: fix default value for Network.AutoAway
This commit is contained in:
parent
e19dd8f0da
commit
38e32ddd6c
@ -164,6 +164,7 @@ type Network struct {
|
|||||||
func NewNetwork(addr string) *Network {
|
func NewNetwork(addr string) *Network {
|
||||||
return &Network{
|
return &Network{
|
||||||
Addr: addr,
|
Addr: addr,
|
||||||
|
AutoAway: true,
|
||||||
Enabled: true,
|
Enabled: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user