mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-20 22:12:58 +03:00
FreeBSD/FreeBSD-src@8624f4347e ("divert: declare PF_DIVERT domain and stop abusing PF_INET") deprecated IPPROTO_DIVERT by introducing address family-independent PF_DIVERT. Use socket(PF_DIVERT, SOCK_RAW, 0) to avoid deprecated behavior, i.e. FreeBSD/FreeBSD-src@f70a2e2948.