Skip to content

Commit

Permalink
ovn-northd: Use ovs_be32 for an IP address in find_lrp_member_ip().
Browse files Browse the repository at this point in the history
Fixes a number of warnings from "sparse".

Fixes: 4685e52 ("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>
  • Loading branch information
blp committed Jul 13, 2016
1 parent 37f8ab6 commit 6026f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovn/northd/ovn-northd.c
Expand Up @@ -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);
Expand Down

0 comments on commit 6026f53

Please sign in to comment.