vrrp: fix coverity errors 26/25326/2
authorMatthew Smith <mgsmith@netgate.com>
Thu, 20 Feb 2020 14:58:15 +0000 (08:58 -0600)
committerNeale Ranns <nranns@cisco.com>
Fri, 21 Feb 2020 08:53:57 +0000 (08:53 +0000)
commit269549491ae6c8d9c35d6b4fa9441ad15e6b82f0
treeec571573c70a1607c03d99f8a5fbb7d77e1fc591
parent62a7fe28933b6310b9a4e3a0fab99949587576ac
vrrp: fix coverity errors

Type: fix
Fixes: 39e9428b90

Fix warnings about potential problems with an implicit type cast
and a null pointer dereference.

Change-Id: I8c8d220e79ba45b62ba783cfe53cb49eef175fc8
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/plugins/vrrp/node.c
src/plugins/vrrp/vrrp_packet.c