1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 14:47:46 +01:00

Set up ipv6 address if provided in network configuration (#1028)

SVN-Revision: 5738
This commit is contained in:
Florian Fainelli 2006-12-09 16:57:31 +00:00
parent 1ce8e3192b
commit cac1789e6c

@ -118,6 +118,7 @@ setup_interface() {
config_get dns "$config" dns
$DEBUG ifconfig "$iface" "$ipaddr" netmask "$netmask"
$DEBUG ifconfig "$iface" inet6 add "$ip6addr"
[ -z "$gateway" ] || route add default gw "$gateway"
[ -z "$dns" -o -f /tmp/resolv.conf ] || {
for ns in $dns; do