mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 23:51:04 +08:00
Rename udp_address::interface
to iface
for VS2015 build.
Resolves #1739.
This commit is contained in:
parent
b784943f90
commit
cf5c288dda
@ -100,8 +100,8 @@ int zmq::udp_address_t::resolve (const char *name_)
|
||||
else
|
||||
is_mutlicast = false;
|
||||
|
||||
interface.s_addr = htons (INADDR_ANY);
|
||||
if (interface.s_addr == INADDR_NONE) {
|
||||
iface.s_addr = htons (INADDR_ANY);
|
||||
if (iface.s_addr == INADDR_NONE) {
|
||||
errno = EINVAL;
|
||||
return -1;
|
||||
}
|
||||
@ -153,7 +153,7 @@ const in_addr zmq::udp_address_t::multicast_ip () const
|
||||
|
||||
const in_addr zmq::udp_address_t::interface_ip () const
|
||||
{
|
||||
return interface;
|
||||
return iface;
|
||||
}
|
||||
|
||||
#if defined ZMQ_HAVE_WINDOWS
|
||||
|
@ -73,7 +73,7 @@ namespace zmq
|
||||
private:
|
||||
|
||||
in_addr multicast;
|
||||
in_addr interface;
|
||||
in_addr iface;
|
||||
sockaddr_in bind_address;
|
||||
sockaddr_in dest_address;
|
||||
bool is_mutlicast;
|
||||
|
Loading…
x
Reference in New Issue
Block a user