I pushed it to master. Thanks.
On Tue, Nov 4, 2014 at 9:45 AM, Jarno Rajahalme <[email protected]> wrote: > LGTM, > > Acked-by: Jarno Rajahalme <[email protected]> > > On Nov 3, 2014, at 2:16 PM, Pravin B Shelar <[email protected]> wrote: > >> Fixes following warning: >> ../lib/ovs-router.c:162:11: warning: incorrect type in assignment >> (different base types) >> ../lib/ovs-router.c:162:11: expected restricted ovs_be32 >> [usertype] <noident> >> ../lib/ovs-router.c:162:11: got restricted ovs_be16 >> >> Reported-by: Ben Pfaff <[email protected]> >> Signed-off-by: Pravin B Shelar <[email protected]> >> --- >> lib/ovs-router.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/lib/ovs-router.c b/lib/ovs-router.c >> index c119c94..8ed7508 100644 >> --- a/lib/ovs-router.c >> +++ b/lib/ovs-router.c >> @@ -159,7 +159,7 @@ scan_ipv4_route(const char *s, ovs_be32 *addr, unsigned >> int *plen) >> int slen = strlen(s); >> uint8_t *ip = (uint8_t *)addr; >> >> - *addr = htons(0); >> + *addr = htonl(0); >> if (!ovs_scan(s, "%"SCNu8"%n", &ip[0], &n)) { >> return false; >> } >> -- >> 1.9.3 >> >> _______________________________________________ >> dev mailing list >> [email protected] >> http://openvswitch.org/mailman/listinfo/dev > _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
