Fix ipv6 address assignment (#1622).

SVN-Revision: 7116
lede-17.01
Eugene Konev 2007-05-06 16:52:46 +00:00
parent 9f388f84ce
commit 9cea5657af
1 changed files with 1 additions and 1 deletions

View File

@ -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 ] || {