From d559e65713d64fee6c3f28f1d9d180a26756ecf3 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Sun, 24 Mar 2013 12:14:09 +0100 Subject: [PATCH] Dont process ath0 for the local routes table. ath0 has a special /16 mask that works in the OLSR mesh. Processing ath0 in this table will blackhole all the traffic of the 172.16 prefix used for wireless backbone interfaces --- package/ubnt-base-files/files/ninux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/ubnt-base-files/files/ninux b/package/ubnt-base-files/files/ninux index 3c042c2..df50840 100755 --- a/package/ubnt-base-files/files/ninux +++ b/package/ubnt-base-files/files/ninux @@ -34,7 +34,7 @@ elif [ -e /olsrd6.conf ]; then fi #Copy local routes only from table main 254 to table 110 -ip route show table 254 | grep -Ev ^default | grep -Ev ^blackhole | while read ROUTE ; do +ip route show table 254 | grep -Ev ^default | grep -Ev ^blackhole | grep -v ath0 | while read ROUTE ; do ip route add table 110 $ROUTE done