lsof
lsof copied to clipboard
[BUG] LTsock fails on darwin
Describe the bug A clear and concise description of what the bug is. LTsock fails on darwin.
To Reproduce Steps to reproduce the behavior:
- Run 'LTsock' in 'tests' folder
- See error
Expected behavior A clear and concise description of what you expected to happen. It should pass.
Program output If applicable, paste program output text here to help explain your problem.
LTsock ... ERROR!!! can't get IP address for macbookair
Errno 0: Undefined error: 0
Environment (please complete the following information):
- Kernel: Darwin 21.5.0
- OS: macOS 12.4
- lsof Version: 4.95.0
- Origin: built from git master
Additional context Add any other context about the problem here.
In Linux, the hostname is usually bound to 127.0.1.1 in /etc/hosts
. But it is not the case in macOS.