mirror of
https://repo.or.cz/socat.git
synced 2025-07-14 23:33:23 +00:00
Improve option retrieve-vlan
This commit is contained in:
parent
6125ed4e4e
commit
40350ecc79
6 changed files with 29 additions and 12 deletions
|
@ -174,6 +174,8 @@ static int xioopen_tun(
|
|||
applyopts_single(sfd, opts, PH_FD);
|
||||
|
||||
_xiointerface_apply_iff(sockfd, ifr.ifr_name, sfd->para.interface.iff_opts);
|
||||
if (_interface_retrieve_vlan(&xfd->stream, opts) < 0)
|
||||
return STAT_NORETRY;
|
||||
|
||||
applyopts(sfd, -1, opts, PH_FD);
|
||||
applyopts_cloexec(sfd->fd, opts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue