Changeset 23ce2d9 in mainline
- Timestamp:
- 2014-06-30T21:28:36Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9787a93
- Parents:
- 3daf1979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dhcp/dhcp.c
r3daf1979 r23ce2d9 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);
Note:
See TracChangeset
for help on using the changeset viewer.