1
0
Fork 0
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:
Gerhard Rieger 2023-07-27 21:18:23 +02:00
parent 6125ed4e4e
commit 40350ecc79
6 changed files with 29 additions and 12 deletions

View file

@ -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);