Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147782391
D50050.1784356534.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
943 B
Referenced Files
None
Subscribers
None
D50050.1784356534.diff
View Options
diff --git a/contrib/wpa/src/drivers/driver_bsd.c b/contrib/wpa/src/drivers/driver_bsd.c
--- a/contrib/wpa/src/drivers/driver_bsd.c
+++ b/contrib/wpa/src/drivers/driver_bsd.c
@@ -1798,21 +1798,11 @@
global->ctx = ctx;
dl_list_init(&global->ifaces);
- global->sock = socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0);
+ global->sock = socket(PF_LOCAL, SOCK_DGRAM | SOCK_CLOEXEC, 0);
if (global->sock < 0) {
- if (errno == EAFNOSUPPORT) {
- wpa_printf(MSG_INFO, "INET not supported, trying INET6...");
- global->sock = socket(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0);
- if (global->sock < 0) {
- wpa_printf(MSG_ERROR, "socket[PF_INET6,SOCK_DGRAM]: %s",
- strerror(errno));
- goto fail1;
- }
- } else {
- wpa_printf(MSG_ERROR, "socket[PF_INET,SOCK_DGRAM]: %s",
+ wpa_printf(MSG_ERROR, "socket[PF_LOCAL,SOCK_DGRAM]: %s",
strerror(errno));
goto fail1;
- }
}
global->route = socket(PF_ROUTE,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 18, 6:35 AM (3 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29180241
Default Alt Text
D50050.1784356534.diff (943 B)
Attached To
Mode
D50050: wpa_supplicant: Use PF_LOCAL instead of PF_INET*
Attached
Detach File
Event Timeline
Log In to Comment