mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
banip: release 0.0.7
* determine L3 and L2 network devices to support pppoe interfaces correctly Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#
|
||||
LC_ALL=C
|
||||
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
ban_ver="0.0.6"
|
||||
ban_ver="0.0.7"
|
||||
ban_sysver="unknown"
|
||||
ban_enabled=0
|
||||
ban_automatic="1"
|
||||
@@ -169,10 +169,16 @@ f_envcheck()
|
||||
|
||||
for iface in ${ban_iface}
|
||||
do
|
||||
network_get_physdev tmp "${iface}"
|
||||
network_get_device tmp "${iface}"
|
||||
if [ -n "${tmp}" ]
|
||||
then
|
||||
ban_dev="${ban_dev} ${tmp}"
|
||||
else
|
||||
network_get_physdev tmp "${iface}"
|
||||
if [ -n "${tmp}" ]
|
||||
then
|
||||
ban_dev="${ban_dev} ${tmp}"
|
||||
fi
|
||||
fi
|
||||
network_get_subnets tmp "${iface}"
|
||||
if [ -n "${tmp}" ]
|
||||
|
||||
Reference in New Issue
Block a user