Fix typo - gameming -> gaming.
This commit is contained in:
parent
4ade386634
commit
372f1fb9f2
@ -1620,7 +1620,7 @@ allow_remote_mac_src_addresses=""
|
||||
# -
|
||||
# - Blank separated list
|
||||
# -
|
||||
gameming_device_mac_addresses=""
|
||||
gaming_device_mac_addresses=""
|
||||
|
||||
|
||||
|
||||
|
@ -1532,7 +1532,7 @@ allow_remote_mac_src_addresses=""
|
||||
# -
|
||||
# - Blank separated list
|
||||
# -
|
||||
gameming_device_mac_addresses=""
|
||||
gaming_device_mac_addresses=""
|
||||
|
||||
|
||||
|
||||
|
@ -1835,7 +1835,7 @@ done
|
||||
# ---
|
||||
# - MAC Address Filtering Gaming Devices
|
||||
# ---
|
||||
declare -a gameming_device_mac_address_arr=()
|
||||
for _mac in $gameming_device_mac_addresses ; do
|
||||
gameming_device_mac_address_arr+=("$_mac")
|
||||
declare -a gaming_device_mac_address_arr=()
|
||||
for _mac in $gaming_device_mac_addresses ; do
|
||||
gaming_device_mac_address_arr+=("$_mac")
|
||||
done
|
||||
|
@ -1117,8 +1117,8 @@ echo ""
|
||||
|
||||
echononl "\tAllow remote Traffic OUT for Gaming devices"
|
||||
|
||||
if [[ ${#gameming_device_mac_address_arr[@]} -gt 0 ]] ; then
|
||||
for _mac in ${gameming_device_mac_address_arr[@]} ; do
|
||||
if [[ ${#gaming_device_mac_address_arr[@]} -gt 0 ]] ; then
|
||||
for _mac in ${gaming_device_mac_address_arr[@]} ; do
|
||||
for _dev in ${ext_if_arr[@]} ; do
|
||||
if $kernel_forward_between_interfaces ; then
|
||||
if ! $permit_local_net_to_inet ; then
|
||||
@ -1140,8 +1140,8 @@ fi
|
||||
|
||||
echononl "\tDeny Traffic to other local networks for Gaming devices"
|
||||
|
||||
if [[ ${#gameming_device_mac_address_arr[@]} -gt 0 ]] ; then
|
||||
for _mac in ${gameming_device_mac_address_arr[@]} ; do
|
||||
if [[ ${#gaming_device_mac_address_arr[@]} -gt 0 ]] ; then
|
||||
for _mac in ${gaming_device_mac_address_arr[@]} ; do
|
||||
for _dev in ${local_if_arr[@]} ; do
|
||||
if $kernel_forward_between_interfaces ; then
|
||||
$ip6t -A FORWARD -o $_dev -m mac --mac-source $_mac -j DROP
|
||||
|
@ -1753,8 +1753,8 @@ echo ""
|
||||
|
||||
echononl "\tAllow remote Traffic OUT for Gaming devices"
|
||||
|
||||
if [[ ${#gameming_device_mac_address_arr[@]} -gt 0 ]] ; then
|
||||
for _mac in ${gameming_device_mac_address_arr[@]} ; do
|
||||
if [[ ${#gaming_device_mac_address_arr[@]} -gt 0 ]] ; then
|
||||
for _mac in ${gaming_device_mac_address_arr[@]} ; do
|
||||
for _dev in ${ext_if_arr[@]} ; do
|
||||
if $kernel_activate_forwarding ; then
|
||||
if ! $permit_local_net_to_inet ; then
|
||||
@ -1776,8 +1776,8 @@ fi
|
||||
|
||||
echononl "\tDeny Traffic to other local networks for Gaming devices"
|
||||
|
||||
if [[ ${#gameming_device_mac_address_arr[@]} -gt 0 ]] ; then
|
||||
for _mac in ${gameming_device_mac_address_arr[@]} ; do
|
||||
if [[ ${#gaming_device_mac_address_arr[@]} -gt 0 ]] ; then
|
||||
for _mac in ${gaming_device_mac_address_arr[@]} ; do
|
||||
for _dev in ${local_if_arr[@]} ; do
|
||||
if $kernel_activate_forwarding ; then
|
||||
$ipt -A FORWARD -o $_dev -m mac --mac-source $_mac -j DROP
|
||||
|
Loading…
Reference in New Issue
Block a user