Alter.Org.UA  
 << Back Home RU ru   Donate Donate www/www1/www2

Patch for ROUTE

by Alter (alterX@alter.org.ua (remove X))

Patch for ROUTE from FreeBSD.

ignore errors + batch mode

Patch download:
9.2-STABLEroute-file_ie.92.patch.gz unified diff
7.2-RELEASE-p8route-file_ie.72.20120614u.patch.gz unified diff
7.0-STABLEroute-file_ie.70.patch.gz
6.2-RELEASE-p5route-file_ie.62.patch.gz

FreeBSD bugtrack ID: 117339

History

Ported to FreeBSD 9.2

route-file_ie.92.patch.gz
2014.02.11

I've made unified diff to satisfy FreeBSD development standards


2012.06.14

Added patch for FBSD 7.2 RELEASE-p8

route-file_ie.72.patch.gz
2011.05.02

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


Mail to alterX@alter.org.ua (remove X)  
designed by Alter aka Alexander A. Telyatnikov powered by Apache+PHP under FBSD © 2002-2017