From eeda1184fa60c5077c2d404d0a8415d11e836ccd Mon Sep 17 00:00:00 2001 From: paulo Date: Fri, 22 Jan 2010 18:04:18 +0000 Subject: Fix "write file" command so reports "threaded". Working on Shutdown and HUP. Shutdown needs mechanism to know when bgp_engine has closed everything. HUP don't understand how it is supposed to cope with added/ deleted/retained peers and get them going again. --- lib/command.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/command.c') 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); -- cgit v1.2.3