Changeset 3bacee1 in mainline for uspace/srv/net/ethip/pdu.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/pdu.c
r76d0981d r3bacee1 124 124 125 125 switch (packet->opcode) { 126 case aop_request: fopcode = AOP_REQUEST; break; 127 case aop_reply: fopcode = AOP_REPLY; break; 126 case aop_request: 127 fopcode = AOP_REQUEST; 128 break; 129 case aop_reply: 130 fopcode = AOP_REPLY; 131 break; 128 132 default: 129 133 assert(false); … … 187 191 188 192 switch (uint16_t_be2host(pfmt->opcode)) { 189 case AOP_REQUEST: packet->opcode = aop_request; break; 190 case AOP_REPLY: packet->opcode = aop_reply; break; 193 case AOP_REQUEST: 194 packet->opcode = aop_request; 195 break; 196 case AOP_REPLY: 197 packet->opcode = aop_reply; 198 break; 191 199 default: 192 200 log_msg(LOG_DEFAULT, LVL_DEBUG, "Invalid ARP opcode (%" PRIu16 ")",
Note:
See TracChangeset
for help on using the changeset viewer.