From b4b2d83c4206cd5d4fe37435b9649cb1c7966c4a Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 24 Nov 2015 00:18:00 +0100 Subject: [PATCH] ocserv: when default-domain is set, enable split-dns Signed-off-by: Nikos Mavrogiannopoulos --- net/ocserv/Makefile | 2 +- net/ocserv/files/ocserv.conf.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile index 5cf3265d3..f205ba0a9 100644 --- a/net/ocserv/Makefile +++ b/net/ocserv/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ocserv PKG_VERSION:=0.10.9 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_USE_MIPS16:=0 PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/net/ocserv/files/ocserv.conf.template b/net/ocserv/files/ocserv.conf.template index 9a5f195c6..24ae2f0ec 100644 --- a/net/ocserv/files/ocserv.conf.template +++ b/net/ocserv/files/ocserv.conf.template @@ -271,7 +271,7 @@ ipv4-netmask = |NETMASK| # The domains over which the provided DNS should be used. Use # multiple lines for multiple domains. -#split-dns = example.com +|ENABLE_DEFAULT_DOMAIN|split-dns = |DEFAULT_DOMAIN| # Prior to leasing any IP from the pool ping it to verify that # it is not in use by another (unrelated to this server) host.