Fix typo - gameming -> gaming.

This commit is contained in:
Christoph 2023-02-11 15:38:51 +01:00
parent 4ade386634
commit 372f1fb9f2
5 changed files with 13 additions and 13 deletions

View File

@ -1620,7 +1620,7 @@ allow_remote_mac_src_addresses=""
# - # -
# - Blank separated list # - Blank separated list
# - # -
gameming_device_mac_addresses="" gaming_device_mac_addresses=""

View File

@ -1532,7 +1532,7 @@ allow_remote_mac_src_addresses=""
# - # -
# - Blank separated list # - Blank separated list
# - # -
gameming_device_mac_addresses="" gaming_device_mac_addresses=""

View File

@ -1835,7 +1835,7 @@ done
# --- # ---
# - MAC Address Filtering Gaming Devices # - MAC Address Filtering Gaming Devices
# --- # ---
declare -a gameming_device_mac_address_arr=() declare -a gaming_device_mac_address_arr=()
for _mac in $gameming_device_mac_addresses ; do for _mac in $gaming_device_mac_addresses ; do
gameming_device_mac_address_arr+=("$_mac") gaming_device_mac_address_arr+=("$_mac")
done done

View File

@ -1117,8 +1117,8 @@ echo ""
echononl "\tAllow remote Traffic OUT for Gaming devices" echononl "\tAllow remote Traffic OUT for Gaming devices"
if [[ ${#gameming_device_mac_address_arr[@]} -gt 0 ]] ; then if [[ ${#gaming_device_mac_address_arr[@]} -gt 0 ]] ; then
for _mac in ${gameming_device_mac_address_arr[@]} ; do for _mac in ${gaming_device_mac_address_arr[@]} ; do
for _dev in ${ext_if_arr[@]} ; do for _dev in ${ext_if_arr[@]} ; do
if $kernel_forward_between_interfaces ; then if $kernel_forward_between_interfaces ; then
if ! $permit_local_net_to_inet ; then if ! $permit_local_net_to_inet ; then
@ -1140,8 +1140,8 @@ fi
echononl "\tDeny Traffic to other local networks for Gaming devices" echononl "\tDeny Traffic to other local networks for Gaming devices"
if [[ ${#gameming_device_mac_address_arr[@]} -gt 0 ]] ; then if [[ ${#gaming_device_mac_address_arr[@]} -gt 0 ]] ; then
for _mac in ${gameming_device_mac_address_arr[@]} ; do for _mac in ${gaming_device_mac_address_arr[@]} ; do
for _dev in ${local_if_arr[@]} ; do for _dev in ${local_if_arr[@]} ; do
if $kernel_forward_between_interfaces ; then if $kernel_forward_between_interfaces ; then
$ip6t -A FORWARD -o $_dev -m mac --mac-source $_mac -j DROP $ip6t -A FORWARD -o $_dev -m mac --mac-source $_mac -j DROP

View File

@ -1753,8 +1753,8 @@ echo ""
echononl "\tAllow remote Traffic OUT for Gaming devices" echononl "\tAllow remote Traffic OUT for Gaming devices"
if [[ ${#gameming_device_mac_address_arr[@]} -gt 0 ]] ; then if [[ ${#gaming_device_mac_address_arr[@]} -gt 0 ]] ; then
for _mac in ${gameming_device_mac_address_arr[@]} ; do for _mac in ${gaming_device_mac_address_arr[@]} ; do
for _dev in ${ext_if_arr[@]} ; do for _dev in ${ext_if_arr[@]} ; do
if $kernel_activate_forwarding ; then if $kernel_activate_forwarding ; then
if ! $permit_local_net_to_inet ; then if ! $permit_local_net_to_inet ; then
@ -1776,8 +1776,8 @@ fi
echononl "\tDeny Traffic to other local networks for Gaming devices" echononl "\tDeny Traffic to other local networks for Gaming devices"
if [[ ${#gameming_device_mac_address_arr[@]} -gt 0 ]] ; then if [[ ${#gaming_device_mac_address_arr[@]} -gt 0 ]] ; then
for _mac in ${gameming_device_mac_address_arr[@]} ; do for _mac in ${gaming_device_mac_address_arr[@]} ; do
for _dev in ${local_if_arr[@]} ; do for _dev in ${local_if_arr[@]} ; do
if $kernel_activate_forwarding ; then if $kernel_activate_forwarding ; then
$ipt -A FORWARD -o $_dev -m mac --mac-source $_mac -j DROP $ipt -A FORWARD -o $_dev -m mac --mac-source $_mac -j DROP