network: fix dhcp classless_static_routes

removed copy&paste artifact "modify_routes add"

there is no modify_routes() function, and we simply want the output
of the parse function.
Harald Hoyer 2016-09-07 09:33:31 +02:00
parent c87d489ca6
commit 33710dfbfc
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ case $reason in
echo '. /lib/net-lib.sh'
echo "setup_net $netif"
if [ -n "$new_classless_static_routes" ]; then
modify_routes add "$(parse_option_121 $new_classless_static_routes)"
parse_option_121 $new_classless_static_routes
fi
echo "source_hook initqueue/online $netif"
[ -e /tmp/net.$netif.manualup ] || echo "/sbin/netroot $netif"