diff options
| author | Jafar Al-Gharaibeh <Jafaral@users.noreply.github.com> | 2017-06-29 09:36:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-29 09:36:06 -0500 |
| commit | 0eef52fd9503ccefb61e27e0e928ebf3d346a66e (patch) | |
| tree | 458c4f265992e9691cebf17a9cac7d0265d34d07 /lib/command.c | |
| parent | 9e810aba4e87b4a5acb1fde74539f9165e5e54a3 (diff) | |
| parent | facfee22f55631992113af5606cf8ade069684b3 (diff) | |
Merge pull request #759 from qlyoung/remove-vty-argparsers
*: remove VTY_GET_*
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
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; } |
