mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
use session owner filehandle if multicasting
This commit is contained in:
parent
26c6aee619
commit
fb7cad2ddf
@ -1445,9 +1445,14 @@ static int setup_session(struct oscon *con, int newtrans)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (sess->nsfd < 0) {
|
if (sess->nsfd < 0) {
|
||||||
|
if (conform && !owner && sess->trans.mcast) {
|
||||||
|
if (!ownsess->trans.mcast)
|
||||||
|
return -455;
|
||||||
|
sess->nsfd = ownsess->nsfd;
|
||||||
|
} else
|
||||||
#ifndef IGNORE_NS
|
#ifndef IGNORE_NS
|
||||||
if (get_ns(sess) < 0)
|
if (get_ns(sess) < 0)
|
||||||
return -455;
|
return -455;
|
||||||
#endif
|
#endif
|
||||||
newtrans = 1;
|
newtrans = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user