Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug in lstgetremotename2.
[doldaconnect.git]
/
daemon
/
net.c
diff --git
a/daemon/net.c
b/daemon/net.c
index
a8059d8
..
751c493
100644
(file)
--- a/
daemon/net.c
+++ b/
daemon/net.c
@@
-1485,9
+1485,9
@@
int lstgetremotename2(struct lport *lp, struct socket *sk2, struct sockaddr **na
errno = EOPNOTSUPP;
return(-1);
}
errno = EOPNOTSUPP;
return(-1);
}
- if(ufd1->d.
s
.family != ufd2->d.s.family)
+ if(ufd1->d.
l
.family != ufd2->d.s.family)
{
{
- flog(LOG_ERR, "using lstgetremotename2 with sockets of differing family: %i %i", ufd1->d.
s
.family, ufd2->d.s.family);
+ flog(LOG_ERR, "using lstgetremotename2 with sockets of differing family: %i %i", ufd1->d.
l
.family, ufd2->d.s.family);
return(-1);
}
if(getremotename(ufd1->fd, &name1, &len1))
return(-1);
}
if(getremotename(ufd1->fd, &name1, &len1))