ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/ether.cpp
(Generate patch)

Comparing BasiliskII/src/ether.cpp (file contents):
Revision 1.9 by cebix, 2002-01-15T14:58:32Z vs.
Revision 1.10 by cebix, 2002-01-17T20:31:01Z

# Line 114 | Line 114 | void EtherInit(void)
114                  }
115  
116                  // Retrieve local IP address (or at least one of them)
117 <                socklen_t sa_len = sizeof(sa);
118 <                getsockname(udp_socket, (struct sockaddr *)&sa, &sa_len);
117 >                socklen_t sa_length = sizeof(sa);
118 >                getsockname(udp_socket, (struct sockaddr *)&sa, &sa_length);
119                  uint32 udp_ip = sa.sin_addr.s_addr;
120                  if (udp_ip == INADDR_ANY || udp_ip == INADDR_LOOPBACK) {
121                          char name[256];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines