summaryrefslogtreecommitdiff
path: root/lib/ferr.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-08-06 21:44:58 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-08-21 00:53:00 -0300
commit20054cb4b15b407386665e2f797ad52d41ca13f0 (patch)
tree18d6faf0cd39d33826e1178abc5fe4feaf109b6b /lib/ferr.c
parent6a2b0d9a7a53c453844ce4c9a9b9dc6257bbaf24 (diff)
lib: fix uint32_t overflow in a couple of CLI commands
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/ferr.c')
-rw-r--r--lib/ferr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ferr.c b/lib/ferr.c
index 8afc926c41..fd5fb50172 100644
--- a/lib/ferr.c
+++ b/lib/ferr.c
@@ -170,7 +170,7 @@ void log_ref_display(struct vty *vty, uint32_t code, bool json)
DEFUN_NOSH(show_error_code,
show_error_code_cmd,
- "show error <(1-4294967296)|all> [json]",
+ "show error <(1-4294967295)|all> [json]",
SHOW_STR
"Information on errors\n"
"Error code to get info about\n"