1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-25 19:38:07 +11:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Izaya
37db09d472
Merge pull request #27 from booty-bumping/save-config
Make sure config is saved after setting static routes
2019-09-23 08:08:16 +00:00
booty-bumping
134257426d make sure config is saved after setting routes 2019-09-23 01:34:04 -06:00

View File

@ -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