Commit c3a03feb authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbinfo/udp.c: pass on argument

The interface argument for udp_open was never passed on to the appropriate function.
parent 85520acd
......@@ -286,7 +286,7 @@ int udp_open(const char *interface, const char *ipaddress, int port)
const struct sockaddr_storage *saddr = (const struct sockaddr_storage *)&ptr->ai_addr;
if (is_multicast(saddr, ptr->ai_addrlen) &&
mcast_connect(s_ctl, NULL, saddr, ptr->ai_addrlen))
mcast_connect(s_ctl, interface, saddr, ptr->ai_addrlen))
{
close(s_ctl);
s_ctl = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment