[ovs-dev] [PATCH 10/19] capwap: Bind address should be big endian.
Ben Pfaff
blp at nicira.com
Thu Dec 9 18:06:31 UTC 2010
On Wed, Dec 08, 2010 at 10:14:08PM -0800, Jesse Gross wrote:
> CAPWAP creates a UDP socket that accepts packets from any address using
> INADDR_ANY. IP addresses should be in network byte order but that
> constant is in host byte order, so use htonl. However, this is not a
> real bug since the value of INADDR_ANY is 0.
>
> Found with sparse.
>
> Signed-off-by: Jesse Gross <jesse at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>
More information about the dev
mailing list