diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-03 00:19:24 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2010-02-03 00:19:24 +0100 |
commit | c37e78510f2ac4d9bb4c44eddf33352eda72fd0f (patch) | |
tree | 82153f7a851aeeaf6999ee59b3bd18ebbc761254 /nest/cmds.c | |
parent | 44f26560ec9f108039e6736d6de929f899bf20ea (diff) |
Makes date/time formats configurable.
Diffstat (limited to 'nest/cmds.c')
-rw-r--r-- | nest/cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nest/cmds.c b/nest/cmds.c index faed870c..16fbba61 100644 --- a/nest/cmds.c +++ b/nest/cmds.c @@ -18,12 +18,12 @@ cmd_show_status(void) byte tim[TM_DATETIME_BUFFER_SIZE]; cli_msg(-1000, "BIRD " BIRD_VERSION); - tm_format_datetime(tim, now); + tm_format_datetime(tim, &config->tf_base, now); cli_msg(-1011, "Router ID is %R", config->router_id); cli_msg(-1011, "Current server time is %s", tim); - tm_format_datetime(tim, boot_time); + tm_format_datetime(tim, &config->tf_base, boot_time); cli_msg(-1011, "Last reboot on %s", tim); - tm_format_datetime(tim, config->load_time); + tm_format_datetime(tim, &config->tf_base, config->load_time); cli_msg(-1011, "Last reconfiguration on %s", tim); if (shutting_down) cli_msg(13, "Shutdown in progress"); |