Package: isc-dhcp-client
Version: 4.1.1-P1-15+squeeze2

If I define multiple routers on dhcpd-server (line 'option routers'),
the client doesn't add metric for gateways.

Original lines:
for router in $new_routers; do
 route add default dev $interface gw $router $metric_arg
done

Maybe the solution:

metric_arg=1
for router in $new_routers; do
 route add default dev $interface gw $router $metric_arg
 metric_arg=$(( $metric_arg+1 ))
done


Sorry for my poor English

Best regards:
Csaba Németh



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to