From 06913a3f4ba319d8e6fe65c5d394f41353eef6b9 Mon Sep 17 00:00:00 2001 From: James Adams Date: Thu, 28 Nov 2024 14:22:34 +0000 Subject: [PATCH] ncm-shorewall: Fix wrapping and indentation in pan --- .../src/main/pan/components/shorewall/schema.pan | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ncm-shorewall/src/main/pan/components/shorewall/schema.pan b/ncm-shorewall/src/main/pan/components/shorewall/schema.pan index 2cf86d9f73..d7fdefef90 100644 --- a/ncm-shorewall/src/main/pan/components/shorewall/schema.pan +++ b/ncm-shorewall/src/main/pan/components/shorewall/schema.pan @@ -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 = { @@ -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}