diff --git a/HISTORY b/HISTORY index 74ba3a6..c228811 100644 --- a/HISTORY +++ b/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. diff --git a/po/it_IT.po b/po/it_IT.po index 6ac96de..91a773d 100644 --- a/po/it_IT.po +++ b/po/it_IT.po @@ -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" diff --git a/socket.c b/socket.c index 541ea6e..1ccef56 100644 --- a/socket.c +++ b/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));