Changeset e3811c9 in mainline
- Timestamp:
- 2015-04-29T17:25:11Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3bd1b3ab
- Parents:
- 86cf96d
- Location:
- uspace/srv/net/dhcp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dhcp/dhcp.c
r86cf96d re3811c9 562 562 } 563 563 564 /* XXX Work around multiple simultaneous sessions issue */ 565 dhcp_transport_fini(&dlink->dt); 566 564 567 log_msg(LOG_DEFAULT, LVL_NOTE, "%s: Successfully configured.", 565 568 dlink->link_info.name); -
uspace/srv/net/dhcp/transport.c
r86cf96d re3811c9 95 95 int rc; 96 96 97 if (dt->fd < 0) { 98 /* Terminated */ 99 return EIO; 100 } 101 97 102 src_addr_size = sizeof(src_addr); 98 103 rc = recvfrom(dt->fd, msgbuf, MAX_MSG_SIZE, 0, … … 166 171 { 167 172 closesocket(dt->fd); 173 dt->fd = -1; 168 174 } 169 175
Note:
See TracChangeset
for help on using the changeset viewer.