Differences From Artifact [0c6d28d689]:
- File src/platform/Windows/OFSystemInfo+NetworkInterfaces.m — part of check-in [ccf154b51a] at 2023-06-11 19:58:25 on branch trunk — +[OFSystemInfo networkInterfaces]: MAC on Linux (user: js, size: 7271) [annotate] [blame] [check-ins using] [more...]
To Artifact [6f1d4aef92]:
- File
src/platform/Windows/OFSystemInfo+NetworkInterfaces.m
— part of check-in
[ad9452c908]
at
2023-10-21 20:52:48
on branch trunk
— +[networkInterfaces]: Use index as key on Windows
AdapterName turns out to be the empty string on Windows 98. (user: js, size: 7180) [annotate] [blame] [check-ins using] [more...]
︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | - | } static OFMutableDictionary OF_GENERIC(OFString *, OFNetworkInterface) * networkInterfacesFromGetAdaptersAddresses(void) { OFMutableDictionary *ret = [OFMutableDictionary dictionary]; |
︙ | |||
77 78 79 80 81 82 83 | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | - - + + | for (PIP_ADAPTER_ADDRESSES iter = adapterAddresses; iter != NULL; iter = iter->Next) { OFString *name; OFMutableDictionary *interface; OFNumber *index; |
︙ | |||
191 192 193 194 195 196 197 | 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | - + - | iter = iter->Next) { OFMutableDictionary *interface; OFString *name, *IPString; OFNumber *index; OFSocketAddress IPv4Address; OFData *addresses; |
︙ |