-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IP_PKTINFO is provided by many platforms (Linux among them), but not all. Most notably, FreeBSD does not provide this functionality, but provides a similar one with IP_RECVDSTADDR instead. Make the use of IP_PKTINFO conditional on the constant being defined, and add support for IP_RECVDSTADDR as well, restoring support for FreeBSD. Fixes: #25
- Loading branch information
Faidon Liambotis
committed
Jan 10, 2019
1 parent
6452486
commit b543943
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters