Changeset 262 for uKadecot/trunk/uip/task/uip_adpt.c
- Timestamp:
- Nov 18, 2016, 2:58:30 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uKadecot/trunk/uip/task/uip_adpt.c
r158 r262 91 91 92 92 start = buf; 93 buf += convert_hexdigit(buf, (uint_t)((ipaddr [0] >> 0) & 0xff), 10, 0, ' ');93 buf += convert_hexdigit(buf, (uint_t)((ipaddr.u16[0] >> 0) & 0xff), 10, 0, ' '); 94 94 *(buf ++) = '.'; 95 buf += convert_hexdigit(buf, (uint_t)((ipaddr [0] >> 8) & 0xff), 10, 0, ' ');95 buf += convert_hexdigit(buf, (uint_t)((ipaddr.u16[0] >> 8) & 0xff), 10, 0, ' '); 96 96 *(buf ++) = '.'; 97 buf += convert_hexdigit(buf, (uint_t)((ipaddr [1] >> 0) & 0xff), 10, 0, ' ');97 buf += convert_hexdigit(buf, (uint_t)((ipaddr.u16[1] >> 0) & 0xff), 10, 0, ' '); 98 98 *(buf ++) = '.'; 99 buf += convert_hexdigit(buf, (uint_t)((ipaddr [1] >> 8) & 0xff), 10, 0, ' ');99 buf += convert_hexdigit(buf, (uint_t)((ipaddr.u16[1] >> 8) & 0xff), 10, 0, ' '); 100 100 *buf = '\0'; 101 101
Note:
See TracChangeset
for help on using the changeset viewer.