diff options
author | Bill Nottingham <notting@redhat.com> | 2004-12-08 22:50:27 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-12-08 22:50:27 +0000 |
commit | 4947f8f8a5af415410c1d46caf1efae6a32da3bc (patch) | |
tree | dda1fb2da56f6272b1867c21a694974175606f25 | |
parent | 9a9b6b6db78d18522c39670b2d93cf38dd1bc1f7 (diff) | |
download | initscripts-4947f8f8a5af415410c1d46caf1efae6a32da3bc.tar initscripts-4947f8f8a5af415410c1d46caf1efae6a32da3bc.tar.gz initscripts-4947f8f8a5af415410c1d46caf1efae6a32da3bc.tar.bz2 initscripts-4947f8f8a5af415410c1d46caf1efae6a32da3bc.tar.xz initscripts-4947f8f8a5af415410c1d46caf1efae6a32da3bc.zip |
change setting of IPv6 default route (#142308, <pb@bieringer.de>
-rw-r--r-- | sysconfig/network-scripts/network-functions-ipv6 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6 index e5284411..534da541 100644 --- a/sysconfig/network-scripts/network-functions-ipv6 +++ b/sysconfig/network-scripts/network-functions-ipv6 @@ -1477,11 +1477,9 @@ ipv6_set_default_route() { if [ -z "$device" ]; then # Note: this can cause a warning and a not installed route, if given address is not reachable on the link - #ipv6_add_route ::/0 $addressgw - ipv6_add_route 2000::/3 $addressgw + ipv6_add_route ::/0 $addressgw else - #ipv6_add_route ::/0 $addressgw $device - ipv6_add_route 2000::/3 $addressgw $device + ipv6_add_route ::/0 $addressgw $device fi elif [ -n "$device" ]; then # Check whether the route belongs to the specific given interface @@ -1501,8 +1499,7 @@ ipv6_set_default_route() { return 3 fi - #ipv6_add_route ::/0 :: $device - ipv6_add_route 2000::/3 :: $device + ipv6_add_route ::/0 :: $device else ipv6_log $"No parameters given to setup a default route" err $fn return 3 |