Patch for ROUTE
by Alter (alterX@alter.org.ua (remove X))
Patch for ROUTE from FreeBSD.
ignore errors + batch mode
Patch download:
Adds '-f' switch, which loads set of commands from file. So you can make multiple updates of routing table
with single call to route. Each line of file contains single route command. For example:
cmd line
route -f route.rules
route.rules
add 10.0.0.0/24 192.168.0.1
add 10.0.1.0/24 192.168.0.1
change 10.0.2.0/24 192.168.0.2
Also adds '-i' switch to command line. When '-i' is used, all routing commands containing errors will be
rejected, but correct commands will be applied. ROUTE shall not stop on the 1st invalid command.
It is useful when loading routing rules from file.
route -i -f route.rules
2007.10.15
alterX@alter.org.ua (remove X)
|