ipv6-support: Use more consistent default values

SVN-Revision: 34913
This commit is contained in:
Steven Barth 2012-12-29 10:12:31 +00:00
parent 348dc70c8c
commit b7c1f24f9b
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ipv6-support PKG_NAME:=ipv6-support
PKG_VERSION:=2012-12-29 PKG_VERSION:=2012-12-30
PKG_RELEASE:=1 PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View file

@ -33,7 +33,7 @@ setup_prefix_fallback "$fallback" "$network" "$device"
[ "$state" == "timeout" || "$state" == "unbound" ] && exit 0 [ "$state" == "timeout" || "$state" == "unbound" ] && exit 0
local peerdns local peerdns
config_get_bool peerdns "$network" peerdns 0 config_get_bool peerdns "$network" peerdns 1
[ "$peerdns" -eq "1" ] && { [ "$peerdns" -eq "1" ] && {
proto_init_update "*" 1 proto_init_update "*" 1
proto_set_keep 1 proto_set_keep 1

View file

@ -355,7 +355,7 @@ set_site_border() {
if [ -n "$device" ]; then if [ -n "$device" ]; then
local site_border local site_border
config_get_bool site_border "$network" site_border 0 config_get_bool site_border "$network" site_border 1
[ "$site_border" == "1" ] || return [ "$site_border" == "1" ] || return
mkdir -p $(dirname "$fwscript") mkdir -p $(dirname "$fwscript")