diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2022-01-27 21:05:40 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2022-01-27 21:05:40 +0300 |
| commit | 3448a75c9d2d23a36006267c20f102fd7afaaf92 (patch) | |
| tree | 3074e36ca0378c0652931ac0ff3929be8fe624ba /lib/debug.c | |
| parent | 6766acddbfb966f7a5cb79fd4eebb87d52ad2679 (diff) | |
vrrpd: use ipaddr_is_zero when needed
Replace custom implementation or call to ipaddr_isset with a call to
ipaddr_is_zero.
ipaddr_isset is not fully correct, because it's fine to have some
non-zero bytes at the end of the struct in case of IPv4 and the function
doesn't allow that.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/debug.c')
0 files changed, 0 insertions, 0 deletions
