projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95383f4
)
ocserv: always advertise the local domain to peer
author
Nikos Mavrogiannopoulos
<
[email protected]
>
Tue, 24 Nov 2015 23:24:39 +0000
(
00:24
+0100)
committer
Nikos Mavrogiannopoulos
<
[email protected]
>
Sat, 28 Nov 2015 21:30:08 +0000
(22:30 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <
[email protected]
>
net/ocserv/files/ocserv.init
patch
|
blob
|
history
diff --git
a/net/ocserv/files/ocserv.init
b/net/ocserv/files/ocserv.init
index a1423a1303a3fceca64ce8861cbdf5a380b3085d..932c9aad73194c76fca8374a68c29c52d614cbb2 100644
(file)
--- a/
net/ocserv/files/ocserv.init
+++ b/
net/ocserv/files/ocserv.init
@@
-70,7
+70,7
@@
setup_config() {
test $split_dns = "1" && enable_split_dns=""
test $compression = "1" && enable_compression=""
- test
$split_dns = "1" && test
-z $default_domain && default_domain=$(uci get dhcp.@dnsmasq[0].domain)
+ test -z $default_domain && default_domain=$(uci get dhcp.@dnsmasq[0].domain)
test -n $default_domain && enable_default_domain=""
test -z $ip6addr && enable_ipv6="#"