aboutsummaryrefslogtreecommitdiff
path: root/examples/udhcp/sample.bound
diff options
context:
space:
mode:
Diffstat (limited to 'examples/udhcp/sample.bound')
-rwxr-xr-xexamples/udhcp/sample.bound3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/udhcp/sample.bound b/examples/udhcp/sample.bound
index 200352672..2a95d8b7d 100755
--- a/examples/udhcp/sample.bound
+++ b/examples/udhcp/sample.bound
@@ -15,9 +15,10 @@ then
do :
done
+ metric=0
for i in $router
do
- /sbin/route add default gw $i dev $interface
+ /sbin/route add default gw $i dev $interface metric $((metric++))
done
fi