HomeFreeBSD

tests: partial revert of 4627bc1e90fd17c8d4f44de6b932d456b67661fc

Description

tests: partial revert of 4627bc1e90fd17c8d4f44de6b932d456b67661fc

Python's socketmodule isn't able to construct sockaddr when it doesn't
recognize the address family. Until this is solved in python let the
tests use the compatibility way to create divert(4) socket.

Details

Provenance
glebiusAuthored on Sep 7 2022, 3:54 AM
Parents
rG1f7a710ab358: ipfilter: Remove unused ioctl
Branches
Unknown
Tags
Unknown
Reverted By
rG5e4ae3061f27: tests/divert: use PF_DIVERT