mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling address masks in SVDRP host settings
This commit is contained in:
parent
62f3d4c797
commit
95f4ddd4e5
@ -2048,6 +2048,7 @@ Frank Schmirler <vdr@schmirler.de>
|
||||
for fixing assigning schedules to channels in case there is no initial EPG information
|
||||
for making entering text via the numeric keys check the characters against the
|
||||
allowed characters
|
||||
for fixing handling address masks in SVDRP host settings
|
||||
|
||||
Jörn Reder <joern@zyn.de>
|
||||
for reporting that a recording may unnecessarily block a device with a CAM, while
|
||||
|
1
HISTORY
1
HISTORY
@ -5266,3 +5266,4 @@ Video Disk Recorder Revision History
|
||||
- Fixed a name clash between skincurses.c and the new cOsd position functions.
|
||||
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
|
||||
- Changed the parameter "OSD font size" to "Default font size" in "Setup/OSD".
|
||||
- Fixed handling address masks in SVDRP host settings (thanks to Frank Schmirler).
|
||||
|
4
config.c
4
config.c
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: config.c 1.153 2007/06/17 11:54:54 kls Exp $
|
||||
* $Id: config.c 1.154 2007/06/23 09:42:49 kls Exp $
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
@ -119,7 +119,7 @@ bool cSVDRPhost::Parse(const char *s)
|
||||
|
||||
bool cSVDRPhost::Accepts(in_addr_t Address)
|
||||
{
|
||||
return (Address & mask) == addr.s_addr;
|
||||
return (Address & mask) == (addr.s_addr & mask);
|
||||
}
|
||||
|
||||
// -- cCommands --------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user