Skip to content

Commit 841035a

Browse files
rlubosMaureenHelm
authored andcommitted
net: connection: Fix mixed up comments
Local/remote address port comments were mixed up in the flags documentation. Signed-off-by: Robert Lubos <[email protected]>
1 parent 271e0c5 commit 841035a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

subsys/net/ip/connection.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ LOG_MODULE_REGISTER(net_conn, CONFIG_NET_CONN_LOG_LEVEL);
4242
/** Local address set */
4343
#define NET_CONN_LOCAL_ADDR_SET BIT(2)
4444

45-
/** Local port set */
45+
/** Remote port set */
4646
#define NET_CONN_REMOTE_PORT_SPEC BIT(3)
4747

48-
/** Remote port set */
48+
/** Local port set */
4949
#define NET_CONN_LOCAL_PORT_SPEC BIT(4)
5050

51-
/** Local address specified */
51+
/** Remote address specified */
5252
#define NET_CONN_REMOTE_ADDR_SPEC BIT(5)
5353

54-
/** Remote address specified */
54+
/** Local address specified */
5555
#define NET_CONN_LOCAL_ADDR_SPEC BIT(6)
5656

5757
#define NET_CONN_RANK(_flags) (_flags & 0x78)

0 commit comments

Comments
 (0)