diff options
author | Jorge Boncompte <jbonor@gmail.com> | 2017-08-10 21:21:14 +0200 |
---|---|---|
committer | Jorge Boncompte <jbonor@gmail.com> | 2017-08-10 21:21:14 +0200 |
commit | 6c8ca260505bf1d96c87371ad71278576345bb5c (patch) | |
tree | bf5b48ca98b8c2fd96cc571ebc3669f8b6428ac4 /nhrpd/nhrpd.h | |
parent | Merge pull request #941 from dwalton76/bgpd-peer-group-rebind (diff) | |
download | frr-6c8ca260505bf1d96c87371ad71278576345bb5c.tar.xz frr-6c8ca260505bf1d96c87371ad71278576345bb5c.zip |
nhrpd: fix issues found by coverity
Signed-off-by: Jorge Boncompte <jbonor@gmail.com>
Diffstat (limited to 'nhrpd/nhrpd.h')
-rw-r--r-- | nhrpd/nhrpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nhrpd/nhrpd.h b/nhrpd/nhrpd.h index 9a4f26d57..307137196 100644 --- a/nhrpd/nhrpd.h +++ b/nhrpd/nhrpd.h @@ -35,7 +35,9 @@ enum { NHRP_ERR_ENTRY_EXISTS, NHRP_ERR_ENTRY_NOT_FOUND, NHRP_ERR_PROTOCOL_ADDRESS_MISMATCH, + __NHRP_ERR_MAX }; +#define NHRP_ERR_MAX (__NHRP_ERR_MAX - 1) struct notifier_block; |