ObjFW  Check-in [b1dd8e5d0e]

Overview
Comment:+[OFSystemInfo networkInterfaces]: Fix typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b1dd8e5d0ebdeb430696ef4d75e63eabac7e3f987a8dbc57fec1d68934401090
User & Date: js on 2023-06-08 21:56:23
Other Links: manifest | tags
Context
2023-06-10
19:40
Split out +[OFSystemInfo networkInterfaces] check-in: ac1baefd27 user: js tags: trunk
2023-06-08
21:56
+[OFSystemInfo networkInterfaces]: Fix typo check-in: b1dd8e5d0e user: js tags: trunk
21:38
OFIPXSocketTests: Fix on FreeBSD check-in: 4412999988 user: js tags: trunk
Changes

Modified src/OFSystemInfo.m from [215ce48f3e] to [faa68bcb9a].

1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158

next_line:
		continue;
	}

	enumerator = [ret objectEnumerator];
	while ((interface = [enumerator nextObject]) != nil)
		[[interface objectForKey: OFNetworkInterfaceIPv4Addresses]
		    makeImmutable];

	return false;
#  elif defined(HAVE_IOCTL) && defined(HAVE_NET_IF_H)
	return queryNetworkInterfaceAddresses(ret,
	    OFNetworkInterfaceIPv6Addresses, OFSocketAddressFamilyIPv6,
	    AF_INET6, sizeof(struct sockaddr_in6));







|







1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158

next_line:
		continue;
	}

	enumerator = [ret objectEnumerator];
	while ((interface = [enumerator nextObject]) != nil)
		[[interface objectForKey: OFNetworkInterfaceIPv6Addresses]
		    makeImmutable];

	return false;
#  elif defined(HAVE_IOCTL) && defined(HAVE_NET_IF_H)
	return queryNetworkInterfaceAddresses(ret,
	    OFNetworkInterfaceIPv6Addresses, OFSocketAddressFamilyIPv6,
	    AF_INET6, sizeof(struct sockaddr_in6));