summaryrefslogtreecommitdiff
path: root/ovn
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-07-13 13:02:59 -0700
committerBen Pfaff <blp@ovn.org>2016-07-13 13:36:43 -0700
commit6026f53491068ac4d446bbc70ecbea3bb22b70fa (patch)
tree5328c633ef0c3c3f4672d8f83b75d028b29da25d /ovn
parent37f8ab6f7a393abe217d6aa8552859576d058ca3 (diff)
downloadopenvswitch-6026f53491068ac4d446bbc70ecbea3bb22b70fa.tar.gz
ovn-northd: Use ovs_be32 for an IP address in find_lrp_member_ip().
Fixes a number of warnings from "sparse". Fixes: 4685e523695c ("ovn: Support multiple addresses on a single logical router port.") Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'ovn')
-rw-r--r--ovn/northd/ovn-northd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index 6712d212e..b1c2c6cf1 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -2034,7 +2034,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);