mirror of
https://github.com/hackacad/bastille.git
synced 2026-03-25 10:14:59 +01:00
rdr: strip brackets from ext_if
This commit is contained in:
@@ -240,7 +240,7 @@ load_rdr_log_rule() {
|
||||
}
|
||||
|
||||
# Handle options.
|
||||
RDR_IF="$(grep "^[[:space:]]*${bastille_network_pf_ext_if}[[:space:]]*=" ${bastille_pf_conf} | awk -F'"' '{print $2}')"
|
||||
RDR_IF="$(grep "^[[:space:]]*${bastille_network_pf_ext_if}[[:space:]]*=" ${bastille_pf_conf} | awk -F'"' '{print $2}' | sed -e 's/{ //' -e 's/ }//')"
|
||||
RDR_SRC="any"
|
||||
RDR_DST="any"
|
||||
RDR_INET="dual"
|
||||
|
||||
Reference in New Issue
Block a user