Fixes a number of warnings from "sparse".
Fixes: 4685e523695c ("ovn: Support multiple addresses on a single logical
router port.")
Signed-off-by: Ben Pfaff <[email protected]>
---
ovn/northd/ovn-northd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index b262e86..eacae7c 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -2037,7 +2037,7 @@ lrport_is_enabled(const struct nbrec_logical_router_port
*lrport)
static const char *
find_lrp_member_ip(const struct ovn_port *op, const char *ip_s)
{
- uint32_t ip;
+ ovs_be32 ip;
if (!ip_parse(ip_s, &ip)) {
static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(5, 1);
--
2.1.3
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev