Changeset e82b37e in mainline
- Timestamp:
- 2024-08-23T20:29:24Z (5 months ago)
- Branches:
- master
- Children:
- aba2d04
- Parents:
- dbae3b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/ethip_nic.c
rdbae3b6 re82b37e 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 234 234 uint8_t *addr; 235 235 size_t size; 236 eth_addr_str_t saddr; 236 237 errno_t rc; 237 238 … … 242 243 } 243 244 245 eth_addr_decode(addr, &nic->mac_addr); 246 eth_addr_format(&nic->mac_addr, &saddr); 247 244 248 log_msg(LOG_DEFAULT, LVL_DEBUG, "ethip_nic_addr_changed(): " 245 "new addr=%02x:%02x:%02x:%02x:%02x:%02x", 246 addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]); 247 248 memcpy(&nic->mac_addr, addr, sizeof(nic->mac_addr)); 249 "new addr=%s", saddr.str); 249 250 250 251 rc = iplink_ev_change_addr(&nic->iplink, &nic->mac_addr);
Note:
See TracChangeset
for help on using the changeset viewer.