]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
udp: fix error messages for IPv6 multicast not supported
authorJaroslav Kysela <perex@perex.cz>
Sun, 25 May 2014 20:11:15 +0000 (22:11 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 25 May 2014 20:11:15 +0000 (22:11 +0200)
src/udp.c

index 655e468f1f16ae3b50ac4aac44b4a738472e21f8..6e11752e711542a67d9934bf14afe756ef11d6b6 100644 (file)
--- a/src/udp.c
+++ b/src/udp.c
@@ -217,7 +217,7 @@ udp_bind ( const char *subsystem, const char *name,
                 name, buf, strerror(errno));
       }
 #else
-      tvherror(name, "IPv6 multicast not supported");
+      tvherror(subsystem, "IPv6 multicast not supported");
       goto error;
 #endif
     }
@@ -333,7 +333,7 @@ udp_connect ( const char *subsystem, const char *name,
                 name, ifname, strerror(errno));
       }
 #else
-      tvherror(name, "IPv6 multicast not supported");
+      tvherror(subsystem, "IPv6 multicast not supported");
       goto error;
 #endif
     }