Overview
Comment: | +[OFSystemInfo networkInterfaces]: Cast for Amiga |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
eec964a1d77a1bcd937c14e9a3111402 |
User & Date: | js on 2023-06-08 21:20:25 |
Other Links: | manifest | tags |
Context
2023-06-08
| ||
21:38 | OFIPXSocketTests: Fix on FreeBSD check-in: 4412999988 user: js tags: trunk | |
21:20 | +[OFSystemInfo networkInterfaces]: Cast for Amiga check-in: eec964a1d7 user: js tags: trunk | |
21:17 | +[OFSystemInfo networkInterfaces]: Add IPX check-in: ce6b0f02cf user: js tags: trunk | |
Changes
Modified src/OFSystemInfo.m from [0557c5219a] to [215ce48f3e].
︙ | ︙ | |||
936 937 938 939 940 941 942 | memset(&ifc, 0, sizeof(ifc)); ifc.ifc_buf = (void *)ifrs; ifc.ifc_len = 128 * sizeof(struct ifreq); if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) return false; buffer = ifc.ifc_buf; | | | 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 | memset(&ifc, 0, sizeof(ifc)); ifc.ifc_buf = (void *)ifrs; ifc.ifc_len = 128 * sizeof(struct ifreq); if (ioctl(sock, SIOCGIFCONF, &ifc) < 0) return false; buffer = ifc.ifc_buf; while (buffer < (char *)ifc.ifc_buf + ifc.ifc_len) { struct ifreq *current = (struct ifreq *)(void *)buffer; OFString *name; OFMutableData *addresses; OFSocketAddress address; if (current->ifr_addr.sa_family != family) goto next; |
︙ | ︙ |