udp: fix error messages for IPv6 multicast not supported
This commit is contained in:
parent
fbe885b79d
commit
ecdda481f5
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue