forked from openthread/ot-commissioner
-
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.
[cli] remove definition of
SO_BINDTODEVICE
from interpreter module (o…
…penthread#263) A previously introduced macro `SO_BINDOTDEVICE`, intended to pass the pre-commit code checks, which is conflicted with an definition in header file named <sys/socket.h>. So we need remove the macro from the interpreter module. To ensure the pre-commit code checks pass, we need to include the appropriate header file and call `setsocketopt` with OS-specific parameters.
- Loading branch information
1 parent
3d33a42
commit 79d1ddc
Showing
1 changed file
with
13 additions
and
4 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