Changeset ebb1489 in mainline for uspace/srv/net/ethip/ethip_nic.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/ethip_nic.c
r2a0c827c rebb1489 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.