mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-10-14 00:29:48 +00:00
add missing helper methods
This commit is contained in:
@@ -258,4 +258,13 @@ func (t *RuntimeState) LoadConfig() {
|
||||
if err != nil {
|
||||
log.Errorf("could not close configuration file. this is not normal! %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
func (t *RuntimeState) UpdateIpv4Mask(ipv4mask int){
|
||||
rts.state.TunIpv4Mask = ipv4mask
|
||||
rts.SaveState()
|
||||
}
|
||||
func (t *RuntimeState) UpdateIpv4(ipv4 string){
|
||||
rts.state.TunIpv4 = ipv4
|
||||
rts.SaveState()
|
||||
}
|
||||
Reference in New Issue
Block a user