state-routes.lua: Don't save again the route when restoring it

There is no need to save the route again after it has been restored because its
value has not changed.
This commit is contained in:
Julian Bouzas 2025-08-21 18:09:20 -04:00
parent 5060b27a9e
commit ed58f65184

View file

@ -79,8 +79,6 @@ find_stored_routes_hook = SimpleEventHook {
route_info = nil
else
log:info (device, "found stored route: " .. route_info.name)
-- make sure we save it again
route_info.save = true
end
end