View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001998 | OpenClonk | Engine - Network | public | 2018-02-12 19:49 | 2018-02-17 12:00 | ||||
Reporter | Luchs | ||||||||
Assigned To | Luchs | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | FreeBSD | OS Version | ||||||
Product Version | 8.0 | ||||||||
Target Version | Fixed in Version | 8.1 | |||||||
Summary | 0001998: Networking does not work on FreeBSD | ||||||||
Description | On FreeBSD, sizeof(struct sockaddr_in) != sizeof(struct sockaddr_in6). This breaks C4NetIOTCP::Connect() which calls connect(2) with sizeof(C4NetIO::addr_t) which is a union of sockaddr_in and sockaddr_in6. To fix this, we will need to make that size parameter dependent on the address family stored within. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
Clonkonaut (developer) 2018-02-13 01:59 |
Partmedia provided us with this patch to fix the problem! |
occ (reporter) 2018-02-17 11:59 |
Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address: https://git.openclonk.org/openclonk.git/commitdiff/0c8371f113386026bfbd534c7dd341aa7db28fba Changeset 0c8371f by Kevin Zheng <kevinz5000@gmail.com> Fix networking on FreeBSD (0001998) |
Luchs (administrator) 2018-02-17 12:00 |
I applied the patch. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-02-12 19:49 | Luchs | New Issue | |
2018-02-12 19:49 | Luchs | Status | new => assigned |
2018-02-12 19:49 | Luchs | Assigned To | => Luchs |
2018-02-13 01:59 | Clonkonaut | File Added: freebsd.patch | |
2018-02-13 01:59 | Clonkonaut | Note Added: 0006130 | |
2018-02-17 11:59 | occ | Note Added: 0006138 | |
2018-02-17 12:00 | Luchs | Status | assigned => resolved |
2018-02-17 12:00 | Luchs | Resolution | open => fixed |
2018-02-17 12:00 | Luchs | Fixed in Version | => 8.1 |
2018-02-17 12:00 | Luchs | Note Added: 0006142 |