1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-08 05:36:32 +00:00

VSOCK: short alias names, env var with peer info

This commit is contained in:
Gerhard Rieger 2022-10-30 11:25:19 +01:00
parent cb03d2f075
commit 2882ac6976
6 changed files with 63 additions and 2 deletions

View file

@ -308,9 +308,11 @@ const struct addrname addressnames[] = {
{ "unix-sendto", &xioaddr_unix_sendto },
#endif
#if WITH_VSOCK
{ "vsock", &addr_vsock_connect },
{ "vsock-connect", &addr_vsock_connect },
#endif
#if WITH_VSOCK && WITH_LISTEN
{ "vsock-l", &addr_vsock_listen },
{ "vsock-listen", &addr_vsock_listen },
#endif
#else /* !0 */