mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 22:31:06 +02:00
add support for interfaces with ipv6, but no ipv4 (patch from #2695)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9545 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3217f35a1a
commit
21f4cf973f
@ -146,9 +146,9 @@ setup_interface() {
|
||||
static)
|
||||
config_get ipaddr "$config" ipaddr
|
||||
config_get netmask "$config" netmask
|
||||
[ -z "$ipaddr" -o -z "$netmask" ] && return 1
|
||||
|
||||
config_get ip6addr "$config" ip6addr
|
||||
[ -z "$ipaddr" -o -z "$netmask" ] && [ -z "$ip6addr" ] && return 1
|
||||
|
||||
config_get gateway "$config" gateway
|
||||
config_get dns "$config" dns
|
||||
config_get bcast "$config" broadcast
|
||||
|
Loading…
x
Reference in New Issue
Block a user