Changeset b9be9b0 in mainline for uspace/srv/net/udp/assoc.c
- Timestamp:
- 2022-03-04T09:11:58Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- af259da
- Parents:
- 917324b
- git-author:
- Jiri Svoboda <jiri@…> (2022-03-03 18:11:14)
- git-committer:
- Jiri Svoboda <jiri@…> (2022-03-04 09:11:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/assoc.c
r917324b rb9be9b0 243 243 * 244 244 * @param assoc Association 245 * @param remote Remote endpoint or NULL not to override @a assoc 245 * @param remote Remote endpoint or inet_addr_any/inet_port_any 246 * not to override association's remote endpoint 246 247 * @param msg Message 247 248 * … … 261 262 /* @a remote can be used to override the remote endpoint */ 262 263 epp = assoc->ident; 263 if (remote != NULL) 264 if (!inet_addr_is_any(&remote->addr) && 265 remote->port != inet_port_any) 264 266 epp.remote = *remote; 265 267
Note:
See TracChangeset
for help on using the changeset viewer.