Changeset 8e7c9fe in mainline for uspace/srv/net/dhcp/dhcp.c
- Timestamp:
- 2014-09-12T03:45:25Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dhcp/dhcp.c
r3eb0c85 r8e7c9fe 304 304 break; 305 305 case opt_dns_server: 306 if (opt_len != 4)306 if (opt_len < 4 || opt_len % 4 != 0) 307 307 return EINVAL; 308 /* XXX Handle multiple DNS servers properly */ 308 309 inet_addr_set(dhcp_uint32_decode(&msgb[i]), 309 310 &offer->dns_server); … … 435 436 436 437 dlink->link_id = link_id; 437 dlink->timeout = fibril_timer_create( );438 dlink->timeout = fibril_timer_create(NULL); 438 439 if (dlink->timeout == NULL) { 439 440 rc = ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.