aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index 6be990db..19f290f0 100644
--- a/conf.c
+++ b/conf.c
@@ -249,10 +249,9 @@ void dump_config(struct runctl *runp, struct query *querylist)
stringdump("via", ctl->server.via);
stringdump("protocol",
using_kpop ? "KPOP" : showproto(ctl->server.protocol));
-#if !INET6_ENABLE
numdump("port", ctl->server.port);
-#else
- stringdump("service", ctl->server.service);
+#if INET6_ENABLE
+ stringdump("service", ctl->server.service);
#endif
numdump("timeout", ctl->server.timeout);
numdump("interval", ctl->server.interval);