1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-28 21:32:56 +00:00

Under certain circumstances, options of the first address were applied to the second address

This commit is contained in:
Gerhard Rieger 2019-12-30 10:27:46 +01:00
parent 420835bf2a
commit 5ebf36038f
3 changed files with 41 additions and 1 deletions

View file

@ -3581,7 +3581,7 @@ int applyopts(int fd, struct opt *opts, enum e_phase phase) {
}
#if WITH_TERMIOS
if (phase == PH_FD) {
if (phase == PH_FD || phase == PH_ALL) {
xiotermios_flush(fd);
}
#endif /* WITH_TERMIOS */