mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
Added missing setsockopt() for IP_PKTINFO.
Cleaned up Italian translation.
This commit is contained in:
parent
a05766c90d
commit
b0dba49fbc
2
HISTORY
2
HISTORY
@ -142,7 +142,7 @@ VDR Plugin 'iptv' Revision History
|
||||
|
||||
- Updated for vdr-1.7.15.
|
||||
|
||||
2010-09-09: Version 0.4.3
|
||||
2010-09-12: Version 0.4.3
|
||||
|
||||
- Renamed Sid scanner to section id scanner and added
|
||||
experimental Tid/Nid support into it.
|
||||
|
@ -151,9 +151,8 @@ msgstr "Tid"
|
||||
msgid "Rid"
|
||||
msgstr "Rid"
|
||||
|
||||
#, fuzzy
|
||||
msgid "Scan section ids"
|
||||
msgstr "Scansione Pids"
|
||||
msgstr "Scansione Section Ids"
|
||||
|
||||
msgid "Scan pids"
|
||||
msgstr "Scansione Pids"
|
||||
@ -166,6 +165,3 @@ msgstr "Indirizzo"
|
||||
|
||||
msgid "Parameter"
|
||||
msgstr "Parametro"
|
||||
|
||||
#~ msgid "Scan Sid/Nid/Tid"
|
||||
#~ msgstr "Scansione Sid/Nid/Tid"
|
||||
|
5
socket.c
5
socket.c
@ -59,7 +59,10 @@ bool cIptvSocket::OpenSocket(const in_addr_t InetAddr, const int Port, const boo
|
||||
ERROR_IF_FUNC(fcntl(socketDesc, F_SETFL, O_NONBLOCK), "fcntl()",
|
||||
CloseSocket(), return false);
|
||||
// Allow multiple sockets to use the same PORT number
|
||||
ERROR_IF_FUNC(setsockopt(socketDesc, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) < 0, "setsockopt()",
|
||||
ERROR_IF_FUNC(setsockopt(socketDesc, SOL_SOCKET, SO_REUSEADDR, &yes, sizeof(yes)) < 0, "setsockopt(SO_REUSEADDR)",
|
||||
CloseSocket(), return false);
|
||||
// Allow packet information to be fetched
|
||||
ERROR_IF_FUNC(setsockopt(socketDesc, SOL_IP, IP_PKTINFO, &yes, sizeof(yes)) < 0, "setsockopt(IP_PKTINFO)",
|
||||
CloseSocket(), return false);
|
||||
// Bind socket
|
||||
memset(&sockAddr, 0, sizeof(sockAddr));
|
||||
|
Loading…
Reference in New Issue
Block a user