Skip to content
Snippets Groups Projects
Commit c05abb41 authored by Jan-Niklas Burfeind's avatar Jan-Niklas Burfeind
Browse files

package/gluon-*/luasrc: fix lua indentation

parent 5ccbaed6
Branches
Tags
No related merge requests found
Showing
with 80 additions and 82 deletions
...@@ -23,6 +23,8 @@ indent_size = 2 ...@@ -23,6 +23,8 @@ indent_size = 2
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.lua]
[*.md] [*.md]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
......
...@@ -4,8 +4,7 @@ local uci = require('simple-uci').cursor() ...@@ -4,8 +4,7 @@ local uci = require('simple-uci').cursor()
-- Allow incoming respondd replies to queries on WAN -- Allow incoming respondd replies to queries on WAN
-- If the query was via multicast, the response isn't matched by --state RELATED -- If the query was via multicast, the response isn't matched by --state RELATED
uci:section('firewall', 'rule', 'wan_respondd_reply', uci:section('firewall', 'rule', 'wan_respondd_reply', {
{
name = 'wan_respondd_reply', name = 'wan_respondd_reply',
src = 'wan', src = 'wan',
src_ip = 'fe80::/64', src_ip = 'fe80::/64',
...@@ -13,11 +12,9 @@ uci:section('firewall', 'rule', 'wan_respondd_reply', ...@@ -13,11 +12,9 @@ uci:section('firewall', 'rule', 'wan_respondd_reply',
dest_port = '32768:61000', -- see /proc/sys/net/ipv4/ip_local_port_range dest_port = '32768:61000', -- see /proc/sys/net/ipv4/ip_local_port_range
proto = 'udp', proto = 'udp',
target = 'ACCEPT', target = 'ACCEPT',
} })
)
uci:section('firewall', 'rule', 'mesh_respondd_reply', uci:section('firewall', 'rule', 'mesh_respondd_reply', {
{
name = 'mesh_respondd_reply', name = 'mesh_respondd_reply',
src = 'mesh', src = 'mesh',
src_ip = 'fe80::/64', src_ip = 'fe80::/64',
...@@ -25,7 +22,6 @@ uci:section('firewall', 'rule', 'mesh_respondd_reply', ...@@ -25,7 +22,6 @@ uci:section('firewall', 'rule', 'mesh_respondd_reply',
dest_port = '32768:61000', -- see /proc/sys/net/ipv4/ip_local_port_range dest_port = '32768:61000', -- see /proc/sys/net/ipv4/ip_local_port_range
proto = 'udp', proto = 'udp',
target = 'ACCEPT', target = 'ACCEPT',
} })
)
uci:save('firewall') uci:save('firewall')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment