diff options
author | Eugene Konev <ejka@imfi.kspu.ru> | 2007-05-06 16:52:46 +0000 |
---|---|---|
committer | Eugene Konev <ejka@imfi.kspu.ru> | 2007-05-06 16:52:46 +0000 |
commit | 9cea5657af95db168a097ccfbc94bb1ae3374fec (patch) | |
tree | 8c9ed57490d01c30498577556bbea3c4c7908a64 /package/base-files/files/lib/network | |
parent | 9f388f84cecfa811995c72b59f64fd1101c6d03b (diff) | |
download | master-31e0f0ae-9cea5657af95db168a097ccfbc94bb1ae3374fec.tar.gz master-31e0f0ae-9cea5657af95db168a097ccfbc94bb1ae3374fec.tar.bz2 master-31e0f0ae-9cea5657af95db168a097ccfbc94bb1ae3374fec.zip |
Fix ipv6 address assignment (#1622).
SVN-Revision: 7116
Diffstat (limited to 'package/base-files/files/lib/network')
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 7e90368e26..c5334cbd5d 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -152,7 +152,7 @@ setup_interface() { config_get bcast "$config" broadcast [ -z "$ipaddr" ] || $DEBUG ifconfig "$iface" "$ipaddr" netmask "$netmask" - [ -z "$ip6addr" ] || $DEBUG ifconfig "$iface" inet6 add "$ip6addr" + [ -z "$ip6addr" ] || $DEBUG ifconfig "$iface" add "$ip6addr" [ -z "$gateway" ] || $DEBUG route add default gw "$gateway" [ -z "$bcast" ] || $DEBUG ifconfig "$iface" broadcast "$bcast" [ -z "$dns" -o -f /tmp/resolv.conf.auto ] || { |