Patch for ROUTE
by Alter (alterX@alter.org.ua (remove X))
Patch for ROUTE from FreeBSD.
ignore errors + batch mode
FreeBSD bugtrack ID: 117339
Ported to FreeBSD 9.2
I've made unified diff to satisfy FreeBSD development standards
Added patch for FBSD 7.2 RELEASE-p8
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:
route -f 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
or mail alterX@alter.org.ua (remove X)