summaryrefslogtreecommitdiff
path: root/server/connectionIGMP.c
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2010-12-02 09:57:17 +0100
committerFrank Schmirler <vdr@schmirler.de>2010-12-02 09:57:17 +0100
commit2ec54f75051001accc03c32b42df70cd4a19febd (patch)
tree836d96c9a4688a01745719787a7a0e83804356f8 /server/connectionIGMP.c
parente0a00f90aece9cfc54f3d5a1d9098fa29d9dc468 (diff)
downloadvdr-plugin-streamdev-2ec54f75051001accc03c32b42df70cd4a19febd.tar.gz
vdr-plugin-streamdev-2ec54f75051001accc03c32b42df70cd4a19febd.tar.bz2
Snapshot 2010-09-15
Diffstat (limited to 'server/connectionIGMP.c')
-rw-r--r--server/connectionIGMP.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/connectionIGMP.c b/server/connectionIGMP.c
index 50db15b..708f41c 100644
--- a/server/connectionIGMP.c
+++ b/server/connectionIGMP.c
@@ -1,5 +1,5 @@
/*
- * $Id: connectionIGMP.c,v 1.2 2010/07/19 13:49:31 schmirl Exp $
+ * $Id: connectionIGMP.c,v 1.3 2010/08/03 10:46:41 schmirl Exp $
*/
#include <ctype.h>
@@ -25,7 +25,9 @@ cConnectionIGMP::~cConnectionIGMP()
bool cConnectionIGMP::Start(cChannel *Channel, in_addr_t Dst)
{
if (Channel != NULL) {
- cDevice *device = GetDevice(Channel, 0);
+ cDevice *device = NULL;
+ if (ProvidesChannel(Channel, 0))
+ device = GetDevice(Channel, 0);
if (device != NULL) {
device->SwitchChannel(Channel, false);
struct in_addr ip;