diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-01-06 08:16:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-06 08:16:02 -0500 |
| commit | 99e1cbb084efbb1dc3374adcb0b713ddb0f9201d (patch) | |
| tree | eeaa5f6e49c3067d8ef7ccdc80d4e0231d2414d8 /lib/command.c | |
| parent | 092b63fc8f892bc9533d009449a0b7009089740d (diff) | |
| parent | ef78e4fdac5a1f08cfa0d8fc1ba6a0cfd1e576db (diff) | |
Merge pull request #12572 from ak503/lib
lib: fix display cputime-warning and walltime-warning
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 1fae32a04a..6d023142ab 100644 --- a/lib/command.c +++ b/lib/command.c @@ -502,7 +502,7 @@ static int config_write_host(struct vty *vty) else if (cputime_threshold != 5000000) #endif vty_out(vty, "service cputime-warning %lu\n", - cputime_threshold); + cputime_threshold / 1000); if (!walltime_threshold) vty_out(vty, "no service walltime-warning\n"); @@ -512,7 +512,7 @@ static int config_write_host(struct vty *vty) else if (walltime_threshold != 5000000) #endif vty_out(vty, "service walltime-warning %lu\n", - walltime_threshold); + walltime_threshold / 1000); if (host.advanced) vty_out(vty, "service advanced-vty\n"); |
