mirror of
https://repo.or.cz/socat.git
synced 2025-07-26 12:02:58 +00:00
Use PACKET_IGNORE_OUTGOING when available; a few corrections and renamings for raw sockets and ancillary messages
This commit is contained in:
parent
47af17dbf2
commit
11d1e9e11f
12 changed files with 185 additions and 42 deletions
|
@ -81,7 +81,10 @@ int xioclose1(struct single *pipe) {
|
|||
#if WITH_INTERFACE
|
||||
case END_INTERFACE:
|
||||
{
|
||||
_xiointerface_set_iff(pipe->fd, pipe->para.interface.name, pipe->para.interface.save_iff);
|
||||
if (pipe->para.interface.name[0] != '\0') {
|
||||
_xiointerface_set_iff(pipe->fd, pipe->para.interface.name,
|
||||
pipe->para.interface.save_iff);
|
||||
}
|
||||
if (Close(pipe->fd) < 0) {
|
||||
Info2("close(%d): %s", pipe->fd, strerror(errno)); } break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue