p910nd: map bind (-i) option to uci
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 21 Nov 2012 19:41:12 +0000 (19:41 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 21 Nov 2012 19:41:12 +0000 (19:41 +0000)
SVN-Revision: 34289

net/p910nd/Makefile
net/p910nd/files/p910nd.init

index 7b0b957a604704a838f76552e15615f72bd0c278..6f858859117abe2fd84d5aeb08709086229e0af6 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009-2011 OpenWrt.org
+# Copyright (C) 2009-2012 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=p910nd
 PKG_VERSION:=0.95
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/p910nd
index 1850c667ec391f543550bc2955e4bbbbdc806145..8757551bf37dd38db6221ac349ed9ea688fb5d5a 100644 (file)
@@ -26,6 +26,7 @@ start_service() {
 
        append_bool "$section" bidirectional "-b"
        append_string "$section" device "-f "
+       append_string "$section" bind "-i "
        append_string "$section" port ""
        config_get_bool "enabled" "$section" "enabled" '1'
        [ "$enabled" -gt 0 ] && /usr/sbin/p910nd $args