tunneldigger: Support bind to interface option.
This commit is contained in:
parent
b52cd56ef1
commit
0916cc9804
@ -1,9 +1,9 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tunneldigger
|
||||
PKG_VERSION:=0.4.2
|
||||
PKG_VERSION:=0.4.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_REV:=604c4351dfa4fc58df0e93a9c0df8b937f8c4c92
|
||||
PKG_REV:=42288abb57261e07491a8233fec2e0741dcb8d52
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=git://github.com/wlanslovenija/tunneldigger.git
|
||||
|
@ -20,6 +20,7 @@ config_cb() {
|
||||
config_get interface "$cfg" interface
|
||||
config_get limit_bw_down "$cfg" limit_bw_down
|
||||
config_get hook_script "$cfg" hook_script
|
||||
config_get bind_interface "$cfg" bind_interface
|
||||
|
||||
[ $enabled -eq 0 ] && return
|
||||
|
||||
@ -30,6 +31,7 @@ config_cb() {
|
||||
|
||||
[ ! -z "${limit_bw_down}" ] && append broker_opts "-L ${limit_bw_down}"
|
||||
[ ! -z "${hook_script}" ] && append broker_opts "-s ${hook_script}"
|
||||
[ ! -z "${bind_interface}" ] && append broker_opts "-I ${bind_interface}"
|
||||
|
||||
if [ -z "$uuid" ]; then
|
||||
missing uuid
|
||||
|
Loading…
Reference in New Issue
Block a user