Bug 235717 - lang/mono IPv6 support
Summary: lang/mono IPv6 support
Status: Closed DUPLICATE of bug 235716
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-mono (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 16:59 UTC by ps
Modified: 2019-02-14 11:41 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (mono)


Attachments
Change AF_INET6 to 28 (488 bytes, patch)
2019-02-13 16:59 UTC, ps
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ps 2019-02-13 16:59:57 UTC
Created attachment 201987 [details]
Change AF_INET6 to 28

Mono incorrectly assigns AF_INET6 for FreeBSD since FreeBSD uses the MacOsNetworkInterfaceAPI.  AF_INET6 is 30 on MacOS but 28 on FreeBSD.  This allows mono to connect to IPv6 only hostnames:

csharp -e 'new System.Net.WebClient ().DownloadString ("http://www.v6.facebook.com/status.php")'
Comment 1 Walter Schwarzenfeld 2019-02-14 11:41:28 UTC

*** This bug has been marked as a duplicate of bug 235716 ***