Skip to content

Commit

Permalink
Dont process ath0 for the local routes table. ath0 has a special /16 …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
zioproto committed Mar 24, 2013
1 parent 36c5304 commit d559e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/ubnt-base-files/files/ninux
Expand Up @@ -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

Expand Down

0 comments on commit d559e65

Please sign in to comment.