Changeset b4edc96 in mainline for uspace/srv/net/dhcp/dhcp.c
- Timestamp:
- 2021-08-08T09:20:20Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e6bca8
- Parents:
- d5ed54b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dhcp/dhcp.c
rd5ed54b rb4edc96 42 42 #include <fibril_synch.h> 43 43 #include <inet/addr.h> 44 #include <inet/eth_addr.h> 44 45 #include <inet/dnsr.h> 45 46 #include <inet/inetcfg.h> … … 157 158 hdr->op = op_bootrequest; 158 159 hdr->htype = 1; /* AHRD_ETHERNET */ 159 hdr->hlen = sizeof(addr48_t);160 hdr->hlen = ETH_ADDR_SIZE; 160 161 hdr->xid = host2uint32_t_be(42); 161 162 hdr->flags = flag_broadcast;
Note:
See TracChangeset
for help on using the changeset viewer.