Skip to content

Commit

Permalink
ncm-shorewall: Fix wrapping and indentation in pan
Browse files Browse the repository at this point in the history
  • Loading branch information
jrha committed Nov 28, 2024
1 parent a45fab7 commit 06913a3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ncm-shorewall/src/main/pan/components/shorewall/schema.pan
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ type component_shorewall_rules = {
"loglevel" ? string
};

type component_shorewall_shorewall_blacklist = string with
match(SELF, '^(ALL|NEW|ESTABLISHED|RELATED|INVALID|UNTRACKED)$');
type component_shorewall_shorewall_blacklist = string with match(SELF,
'^(ALL|NEW|ESTABLISHED|RELATED|INVALID|UNTRACKED)$'
);

@{shorewall.conf options. only configured options are written to the configfile}
type component_shorewall_shorewall = {
Expand Down Expand Up @@ -296,8 +297,10 @@ type component_shorewall = {
@{tcpri configuration}
"tcpri" ? component_shorewall_tcpri[]
@{masq configuration}
"masq" ? component_shorewall_masq[] with {deprecated(0,
'deprecated in favor of shorewall-snat which was introduced in Shorewall 5.0.14'); true; }
"masq" ? component_shorewall_masq[] with {
deprecated(0, 'deprecated in favor of shorewall-snat which was introduced in Shorewall 5.0.14');
true;
}
@{snat configuration}
"snat" ? component_shorewall_snat[]
@{providers configuration}
Expand Down

0 comments on commit 06913a3

Please sign in to comment.