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
11
xioopts.c
11
xioopts.c
|
@ -3984,17 +3984,6 @@ int applyopt_spec(
|
|||
#endif /* WITH_IP6 && defined(HAVE_STRUCT_IPV6_MREQ) */
|
||||
#endif /* _WITH_SOCKET */
|
||||
|
||||
#if _WITH_INTERFACE
|
||||
case OPT_RETRIEVE_VLAN:
|
||||
if (!xioparms.experimental) {
|
||||
Warn1("option %s is experimental", opt->desc->defname);
|
||||
}
|
||||
if (_interface_setsockopt_auxdata(fd, 1) < 0) {
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
#endif /* _WITH_INTERFACE */
|
||||
|
||||
default: Error1("applyopt_spec(opt:%s): INTERNAL option not implemented",
|
||||
opt->desc->defname);
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue