Commit 738c0bb
committed
wpa_supplicant: Use PF_LOCAL instead of PF_INET*
Using a local socket circumvents the issue of needing any Internet
protocol (PF_INET or PF_INET6) support.
We only use interface ("i" group) ioctls on this socket so we can get
away with using PF_LOCAL instead of requring any Internet protocol
(PF_INET or PF_INET6) support on the system. This simplifies the
patch from 8c7149c.
PR: 286259
Noted by: kevans
Fixes: 8c7149c
Reviewed by: kevans, philip,
zarychtam_plan-b.pwste.edu.pl (mzar)
Differential revision: https://reviews.freebsd.org/D50050
(cherry picked from commit 6aeec6a)1 parent b3e677d commit 738c0bb
1 file changed
+2
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1767 | 1767 | | |
1768 | 1768 | | |
1769 | 1769 | | |
1770 | | - | |
| 1770 | + | |
1771 | 1771 | | |
1772 | | - | |
1773 | | - | |
1774 | | - | |
1775 | | - | |
1776 | | - | |
1777 | | - | |
1778 | | - | |
1779 | | - | |
1780 | | - | |
1781 | | - | |
| 1772 | + | |
1782 | 1773 | | |
1783 | 1774 | | |
1784 | | - | |
1785 | 1775 | | |
1786 | 1776 | | |
1787 | 1777 | | |
| |||
0 commit comments