Browse Source

Merge pull request #7784 from dibdot/banip

banip: release 0.0.7
lilik-openwrt-22.03
Dirk Brenken 6 years ago
committed by GitHub
parent
commit
d5ddc24dfa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions
  1. +1
    -1
      net/banip/Makefile
  2. +8
    -2
      net/banip/files/banip.sh

+ 1
- 1
net/banip/Makefile View File

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=banip PKG_NAME:=banip
PKG_VERSION:=0.0.6
PKG_VERSION:=0.0.7
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0+ PKG_LICENSE:=GPL-3.0+
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org> PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>


+ 8
- 2
net/banip/files/banip.sh View File

@ -10,7 +10,7 @@
# #
LC_ALL=C LC_ALL=C
PATH="/usr/sbin:/usr/bin:/sbin:/bin" PATH="/usr/sbin:/usr/bin:/sbin:/bin"
ban_ver="0.0.6"
ban_ver="0.0.7"
ban_sysver="unknown" ban_sysver="unknown"
ban_enabled=0 ban_enabled=0
ban_automatic="1" ban_automatic="1"
@ -169,10 +169,16 @@ f_envcheck()
for iface in ${ban_iface} for iface in ${ban_iface}
do do
network_get_physdev tmp "${iface}"
network_get_device tmp "${iface}"
if [ -n "${tmp}" ] if [ -n "${tmp}" ]
then then
ban_dev="${ban_dev} ${tmp}" ban_dev="${ban_dev} ${tmp}"
else
network_get_physdev tmp "${iface}"
if [ -n "${tmp}" ]
then
ban_dev="${ban_dev} ${tmp}"
fi
fi fi
network_get_subnets tmp "${iface}" network_get_subnets tmp "${iface}"
if [ -n "${tmp}" ] if [ -n "${tmp}" ]


Loading…
Cancel
Save