[Slirp] [Git][slirp/libslirp][master] Drop fixed TODO
Samuel Thibault (@sthibaul)
gitlab at gitlab.freedesktop.org
Sun Dec 12 01:04:10 UTC 2021
Samuel Thibault pushed to branch master at slirp / libslirp
Commits:
f4ab1f2b by Samuel Thibault at 2021-12-12T02:04:04+01:00
Drop fixed TODO
- - - - -
1 changed file:
- src/socket.c
Changes:
=====================================
src/socket.c
=====================================
@@ -1083,7 +1083,6 @@ void sotranslate_accept(struct socket *so)
so->so_faddr = slirp->vhost_addr;
so->so_fport = 0;
- // TODO Is there a better way of checking socket type?
switch (so->so_type) {
case IPPROTO_TCP:
s = slirp_socket(PF_INET, SOCK_STREAM, 0);
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/f4ab1f2b35ae3e730e1c80e97dc9788c55ef0c32
--
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/f4ab1f2b35ae3e730e1c80e97dc9788c55ef0c32
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20211212/dc0c5a3a/attachment.htm>
More information about the Slirp
mailing list