summaryrefslogtreecommitdiff
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, 1 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index 5853710999..56fedf0914 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2345,8 +2345,7 @@ DEFUN (config_log_timestamp_precision,
"Number of subsecond digits\n")
{
int idx_number = 3;
- VTY_GET_INTEGER_RANGE("Timestamp Precision",
- zlog_default->timestamp_precision, argv[idx_number]->arg, 0, 6);
+ zlog_default->timestamp_precision = strtoul(argv[idx_number]->arg, NULL, 10);
return CMD_SUCCESS;
}