Skip to content

Commit

Permalink
[core] Added #ifdef SRT_ENABLE_PKTINFO removed by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
yomnes0 committed Jan 9, 2024
1 parent 009ee89 commit af53d88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions srtcore/channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ class CChannel

// This feature is not enabled on Windows, for now.
// This is also turned off in case of MinGW
#ifdef SRT_ENABLE_PKTINFO
bool m_bBindMasked; // True if m_BindAddr is INADDR_ANY. Need for quick check.

// Calculating the required space is extremely tricky, and whereas on most
Expand Down Expand Up @@ -290,6 +291,7 @@ class CChannel
return false;
}

#endif //SRT_ENABLE_PKTINFO

};

Expand Down

0 comments on commit af53d88

Please sign in to comment.