Skip to content

Commit d559e65

Browse files
committed
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
1 parent 36c5304 commit d559e65

File tree

1 file changed

+1
-1
lines changed
  • package/ubnt-base-files/files

1 file changed

+1
-1
lines changed

package/ubnt-base-files/files/ninux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ elif [ -e /olsrd6.conf ]; then
3434
fi
3535

3636
#Copy local routes only from table main 254 to table 110
37-
ip route show table 254 | grep -Ev ^default | grep -Ev ^blackhole | while read ROUTE ; do
37+
ip route show table 254 | grep -Ev ^default | grep -Ev ^blackhole | grep -v ath0 | while read ROUTE ; do
3838
ip route add table 110 $ROUTE
3939
done
4040

0 commit comments

Comments
 (0)