iproute: problem parsing /etc/iproute2/rt_tables / tabs vs. spaces

Bastian Bittorf bittorf at bluebottle.com
Fri Feb 12 06:12:52 UTC 2016


OpenWrt switched to busybox's 'iproute2' applet:

An user recognized that using spaces in
/etc/iproute2/rt_tables will not work anymore
(but used to work earlier):

echo "50 test" >/etc/iproute2/rt_tables
ip route show table test

-> error

TAB="	"
echo "51${TAB}test1" >/etc/iproute2/rt_tables

-> OK

maybe this was introduced with
926d801fa51717b3af3faf33f9d686e92a20ecfd ?

bye, bastian


More information about the busybox mailing list