summaryrefslogtreecommitdiffstats
path: root/lib/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index 59cbbe52..2c9ca64a 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -536,6 +536,9 @@ zencrypt (const char *passwd)
static int
config_write_host (struct vty *vty)
{
+ if (qpthreads_enabled)
+ vty_out (vty, "threaded%s", VTY_NEWLINE);
+
if (host.name)
vty_out (vty, "hostname %s%s", host.name, VTY_NEWLINE);