gluon-core: firewall: coding style
Wrap long lines.
This commit is contained in:
parent
4bae0a429f
commit
fe2048e4df
@ -41,7 +41,19 @@ for _, zone in ipairs ({ 'mesh', 'local_client' } ) do
|
|||||||
uci:section('firewall', 'rule', zone .. '_ICMPv6_in', {
|
uci:section('firewall', 'rule', zone .. '_ICMPv6_in', {
|
||||||
src = zone,
|
src = zone,
|
||||||
proto = 'icmp',
|
proto = 'icmp',
|
||||||
icmp_type = {'echo-request', 'echo-reply', 'destination-unreachable', 'packet-too-big', 'time-exceeded', 'bad-header', 'unknown-header-type', 'router-solicitation', 'neighbour-solicitation', 'router-advertisement', 'neighbour-advertisement', },
|
icmp_type = {
|
||||||
|
'echo-request',
|
||||||
|
'echo-reply',
|
||||||
|
'destination-unreachable',
|
||||||
|
'packet-too-big',
|
||||||
|
'time-exceeded',
|
||||||
|
'bad-header',
|
||||||
|
'unknown-header-type',
|
||||||
|
'router-solicitation',
|
||||||
|
'neighbour-solicitation',
|
||||||
|
'router-advertisement',
|
||||||
|
'neighbour-advertisement',
|
||||||
|
},
|
||||||
limit = '1000/sec',
|
limit = '1000/sec',
|
||||||
family = 'ipv6',
|
family = 'ipv6',
|
||||||
target = 'ACCEPT',
|
target = 'ACCEPT',
|
||||||
@ -50,7 +62,19 @@ for _, zone in ipairs ({ 'mesh', 'local_client' } ) do
|
|||||||
uci:section('firewall', 'rule', zone .. '_ICMPv6_out', {
|
uci:section('firewall', 'rule', zone .. '_ICMPv6_out', {
|
||||||
dest = zone,
|
dest = zone,
|
||||||
proto = 'icmp',
|
proto = 'icmp',
|
||||||
icmp_type = {'echo-request', 'echo-reply', 'destination-unreachable', 'packet-too-big', 'time-exceeded', 'bad-header', 'unknown-header-type', 'router-solicitation', 'neighbour-solicitation', 'router-advertisement', 'neighbour-advertisement' },
|
icmp_type = {
|
||||||
|
'echo-request',
|
||||||
|
'echo-reply',
|
||||||
|
'destination-unreachable',
|
||||||
|
'packet-too-big',
|
||||||
|
'time-exceeded',
|
||||||
|
'bad-header',
|
||||||
|
'unknown-header-type',
|
||||||
|
'router-solicitation',
|
||||||
|
'neighbour-solicitation',
|
||||||
|
'router-advertisement',
|
||||||
|
'neighbour-advertisement',
|
||||||
|
},
|
||||||
limit = '1000/sec',
|
limit = '1000/sec',
|
||||||
family = 'ipv6',
|
family = 'ipv6',
|
||||||
target = 'ACCEPT',
|
target = 'ACCEPT',
|
||||||
|
Loading…
Reference in New Issue
Block a user