Changeset 6b0b508 in mainline for uspace/srv/net/udp/sock.c
- Timestamp:
- 2013-03-14T15:39:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 05bfce7
- Parents:
- 22e80508
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/sock.c
r22e80508 r6b0b508 289 289 (udp_sockdata_t *) sock_core->specific_data; 290 290 291 if ( (sock_core->port == 0) || (sock_core->port == -1)) {291 if (sock_core->port <= 0) { 292 292 /* Implicitly bind socket to port */ 293 293 int rc = socket_bind_free_port(&gsock, sock_core, … … 299 299 300 300 assert(sock_core->port > 0); 301 301 302 udp_error_t urc = udp_uc_set_local_port(socket->assoc, 302 303 sock_core->port); … … 307 308 goto out; 308 309 } 310 311 last_used_port = sock_core->port; 309 312 } 310 313
Note:
See TracChangeset
for help on using the changeset viewer.