Lines 37-43
Link Here
|
37 |
[ -z "$suricata_netmap" ] && suricata_netmap="NO" |
37 |
[ -z "$suricata_netmap" ] && suricata_netmap="NO" |
38 |
|
38 |
|
39 |
if [ -n "$suricata_interface" ]; then |
39 |
if [ -n "$suricata_interface" ]; then |
40 |
suricata_flags="$suricata_flags -i $suricata_interface" |
40 |
for i in $suricata_interface; |
|
|
41 |
do |
42 |
suricata_flags="$suricata_flags -i $i" |
43 |
done |
41 |
elif [ "$suricata_netmap" != "NO" ]; then |
44 |
elif [ "$suricata_netmap" != "NO" ]; then |
42 |
suricata_flags="$suricata_flags --netmap" |
45 |
suricata_flags="$suricata_flags --netmap" |
43 |
else |
46 |
else |