net-route
net-route copied to clipboard
Make the routing table recoverable after the program exits with exceptions
I found that the routing table cannot be recovered once the program setting the routing table with net-route
exits without being correct to call delete
API, the only approach is to restart the system. net-route
seems can record the original associated setting to disk such that the routing table can be recoverable after the next time the program run.