mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
netifd: do not validate relevant section when ipv6 is not supported
Signed-off-by: Rosy Song <rosysong@rosinson.com>
(backported from a6add47869)
This commit is contained in:
parent
0ccf009b62
commit
468a4b5b62
1 changed files with 2 additions and 2 deletions
|
|
@ -133,9 +133,9 @@ service_triggers()
|
|||
procd_open_validate
|
||||
validate_atm_bridge_section
|
||||
validate_route_section
|
||||
validate_route6_section
|
||||
[ -e /proc/sys/net/ipv6 ] && validate_route6_section
|
||||
validate_rule_section
|
||||
validate_rule6_section
|
||||
[ -e /proc/sys/net/ipv6 ] && validate_rule6_section
|
||||
validate_switch_section
|
||||
validate_switch_vlan
|
||||
procd_close_validate
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue