summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--servconf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/servconf.c b/servconf.c
index 288ec0889..7fc3551d7 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,5 +1,5 @@
1 1
2/* $OpenBSD: servconf.c,v 1.317 2017/10/25 00:19:47 djm Exp $ */ 2/* $OpenBSD: servconf.c,v 1.318 2017/10/25 02:10:39 djm Exp $ */
3/* 3/*
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
5 * All rights reserved 5 * All rights reserved
@@ -2538,11 +2538,13 @@ dump_config(ServerOptions *o)
2538 printf("maxstartups %d:%d:%d\n", o->max_startups_begin, 2538 printf("maxstartups %d:%d:%d\n", o->max_startups_begin,
2539 o->max_startups_rate, o->max_startups); 2539 o->max_startups_rate, o->max_startups);
2540 2540
2541 for (i = 0; tunmode_desc[i].val != -1; i++) 2541 s = NULL;
2542 for (i = 0; tunmode_desc[i].val != -1; i++) {
2542 if (tunmode_desc[i].val == o->permit_tun) { 2543 if (tunmode_desc[i].val == o->permit_tun) {
2543 s = tunmode_desc[i].text; 2544 s = tunmode_desc[i].text;
2544 break; 2545 break;
2545 } 2546 }
2547 }
2546 dump_cfg_string(sPermitTunnel, s); 2548 dump_cfg_string(sPermitTunnel, s);
2547 2549
2548 printf("ipqos %s ", iptos2str(o->ip_qos_interactive)); 2550 printf("ipqos %s ", iptos2str(o->ip_qos_interactive));