Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Shorten config.boot?

$
0
0

 

Is it possible to shorten the code with, for example, semi-colons? Or is there a syntax description?

 

from:

     rule 1 {
            action accept
            state {
                established enable
                related enable
            }
        }
        rule 2 {
            action drop
            state {
                invalid enable
            }
        }

to something like:

 

rule 1 { action accept; state { established enable; related enable } }
rule 2 { action drop  ; state { invalid enable } }

 

Arco

 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>