mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 17:16:51 +00:00
FreeBSD compatibility (#435)
Modified Files: Makefile common.h libdvbmpeg/ctools.c server/connectionVTP.c tools/socket.c
This commit is contained in:
@@ -153,5 +153,5 @@ bool cTBSocket::Shutdown(int how) {
|
||||
|
||||
bool cTBSocket::SetDSCP(void) {
|
||||
int dscp = STREAMDEV_DSCP;
|
||||
return ::setsockopt(*this, SOL_IP, IP_TOS, &dscp, sizeof(dscp)) != -1;
|
||||
return ::setsockopt(*this, IPPROTO_IP, IP_TOS, &dscp, sizeof(dscp)) != -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user