mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
Fix incorrect byte order annotations.
These are not actual bugs, just deceptive use of the wrong function or type. Found by sparse.
This commit is contained in:
@@ -119,8 +119,8 @@ struct rconn {
|
||||
*
|
||||
* We don't cache the local port, because that changes from one connection
|
||||
* attempt to the next. */
|
||||
uint32_t local_ip, remote_ip;
|
||||
uint16_t remote_port;
|
||||
ovs_be32 local_ip, remote_ip;
|
||||
ovs_be16 remote_port;
|
||||
|
||||
/* Messages sent or received are copied to the monitor connections. */
|
||||
#define MAX_MONITORS 8
|
||||
|
||||
Reference in New Issue
Block a user