Changeset 8a9a41e in mainline for uspace/srv/net/inetsrv/inetcfg.c
- Timestamp:
- 2021-10-24T08:28:43Z (4 years ago)
- Children:
- 9ea3a41
- Parents:
- 2ce943a (diff), cd981f2a (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:
- Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
- git-committer:
- GitHub <noreply@…> (2021-10-24 08:28:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetcfg.c
r2ce943a r8a9a41e 1 1 /* 2 * Copyright (c) 20 13Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 177 177 linfo->def_mtu = ilink->def_mtu; 178 178 if (ilink->mac_valid) { 179 addr48(ilink->mac, linfo->mac_addr);179 linfo->mac_addr = ilink->mac; 180 180 } else { 181 memset( linfo->mac_addr, 0, sizeof(linfo->mac_addr));181 memset(&linfo->mac_addr, 0, sizeof(linfo->mac_addr)); 182 182 } 183 183
Note:
See TracChangeset
for help on using the changeset viewer.