ObjFW  Check-in [f2f2bd294e]

Overview
Comment:OFDatagramSocket: Set correct family for AppleTalk
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | appletalk
Files: files | file ages | folders
SHA3-256: f2f2bd294e302717fbdeb79686f22905b0035cd5d38599f2f792a901d9649f1d
User & Date: js on 2022-10-22 20:41:33
Other Links: branch diff | manifest | tags
Context
2022-10-22
21:47
objfw-defs.h.in: Fix inconsistency Closed-Leaf check-in: c26bd3ad84 user: js tags: appletalk
20:41
OFDatagramSocket: Set correct family for AppleTalk check-in: f2f2bd294e user: js tags: appletalk
20:10
configure: Include sys/types.h for netatalk/at.h check-in: 0f4aa7ff6f user: js tags: appletalk
Changes

Modified src/OFDatagramSocket.m from [bbb2f277d7] to [946605e073].

208
209
210
211
212
213
214





215
216
217
218
219
220
221
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226







+
+
+
+
+







		sender->family = OFSocketAddressFamilyUNIX;
		break;
#endif
#ifdef OF_HAVE_IPX
	case AF_IPX:
		sender->family = OFSocketAddressFamilyIPX;
		break;
#endif
#ifdef OF_HAVE_APPLETALK
	case AF_APPLETALK:
		sender->family = OFSocketAddressFamilyAppleTalk;
		break;
#endif
	default:
		sender->family = OFSocketAddressFamilyUnknown;
		break;
	}

	return ret;