udp: fix error messages for IPv6 multicast not supported

This commit is contained in:
Jaroslav Kysela 2014-05-25 22:11:15 +02:00
parent fbe885b79d
commit ecdda481f5

View file

@ -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
}