Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Commits
3594529c
Commit
3594529c
authored
5 years ago
by
Roman Khlopkov
🔜
Browse files
Options
Downloads
Patches
Plain Diff
[*] Config section change
parent
f82a3c7d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!89
features-3330
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/share/configs/cellframe-node.cfg.tpl
+5
-2
5 additions, 2 deletions
dist/share/configs/cellframe-node.cfg.tpl
libdap-server-udp
+1
-1
1 addition, 1 deletion
libdap-server-udp
sources/main.c
+1
-1
1 addition, 1 deletion
sources/main.c
with
7 additions
and
4 deletions
dist/share/configs/cellframe-node.cfg.tpl
+
5
−
2
View file @
3594529c
# General section
# General section
[general]
debug_mode=
{
DEBUG_MODE
}
debug_dump_stream_headers=
{
DEBUG_STREAM_HEADERS
}
...
...
@@ -17,7 +17,10 @@ node_addr_type=auto
enabled=
{
SERVER_ENABLED
}
listen_address=
{
SERVER_ADDR
}
listen_port_tcp=
{
SERVER_PORT
}
builtin_dns_enabled=true #
{
BUILTIN_DNS_ENABLED
}
# Builtin DNS server
[builtin_dns]
enabled=true
# Mempool
[mempool]
...
...
This diff is collapsed.
Click to expand it.
libdap-server-udp
@
e50b808e
Compare
7500d54e
...
e50b808e
Subproject commit
7
50
0d54e139a92586b1488edffcb12f4f1c824ec
Subproject commit
e
50
b808e141633ecae5492f49f5cc1b694823624
This diff is collapsed.
Click to expand it.
sources/main.c
+
1
−
1
View file @
3594529c
...
...
@@ -421,7 +421,7 @@ int main( int argc, const char **argv )
// DNS server start
bool
bBuiltinDNSEnabled
=
dap_config_get_item_bool_default
(
g_config
,
"server"
,
"builtin_dns
_
enabled"
,
false
);
bool
bBuiltinDNSEnabled
=
dap_config_get_item_bool_default
(
g_config
,
"builtin_dns
"
,
"
enabled"
,
false
);
log_it
(
L_DEBUG
,
"config server->builtin_dns_enabled =
\"
%u
\"
"
,
bBuiltinDNSEnabled
);
dap_server_t
*
dns
=
NULL
;
if
(
bBuiltinDNSEnabled
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment