mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-12-26 10:18:07 +11:00
Merge pull request #27 from booty-bumping/save-config
Make sure config is saved after setting static routes
This commit is contained in:
commit
37db09d472
@ -268,7 +268,9 @@ end
|
||||
|
||||
function set_route(to,laddr,raddr)
|
||||
cfg.sroutes[to] = {laddr,raddr,0}
|
||||
saveconfig()
|
||||
end
|
||||
function del_route(to)
|
||||
cfg.sroutes[to] = nil
|
||||
saveconfig()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user