Skip to content

Commit

Permalink
Fixed comment formatting
Browse files Browse the repository at this point in the history
Signed-off-by: pierantoniomerlino <[email protected]>
  • Loading branch information
pierantoniomerlino committed Oct 13, 2023
1 parent fc29e15 commit 8615b14
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,7 @@ public void save() {

/*
* Saves rules from the localRules, portForwardRules, natRules, and autoNatRules
* into the Kura chains in
* /etc/sysconfig/iptables
* into the Kura chains in /etc/sysconfig/iptables
*/
public void saveKuraChains() throws KuraException {
try (FileOutputStream fos = new FileOutputStream(getFirewallConfigTmpFileName());
Expand Down Expand Up @@ -393,8 +392,7 @@ public void restore(String filename) {

/*
* Saves current configurations from the localRules, portForwardRules, natRules,
* and autoNatRules
* into specified temporary file
* and autoNatRules into specified temporary file
*/
public void save(String filename) {
internalSave(filename);
Expand Down Expand Up @@ -865,9 +863,8 @@ private void parsePortForwardingRules(List<NatPreroutingChainRule> natPrerouting

/*
* Applies the rules contained in the localRules, portForwardRules, natRules,
* and autoNatRules,
* force the polices for input and forward chains and apply flooding protection
* rules if needed.
* and autoNatRules, force the polices for input and forward chains and apply
* flooding protection rules if needed.
*/
public void applyRules() {
applyPolicies();
Expand Down

0 comments on commit 8615b14

Please sign in to comment.