Changeset 72274 in vbox
- Timestamp:
- May 21, 2018 1:03:22 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/udp.c
r72239 r72274 531 531 int opt = 1; 532 532 533 /* We attaching some olready attched socket ??? */ 534 Assert(so->so_type == 0); 533 AssertReturn(so->so_type == 0, -1); 534 so->so_type = IPPROTO_UDP; 535 535 536 if ((so->s = socket(AF_INET, SOCK_DGRAM, 0)) == -1) 536 537 goto error; … … 561 562 NSOCK_INC(); 562 563 QSOCKET_UNLOCK(udb); 563 so->so_type = IPPROTO_UDP;564 564 return so->s; 565 565 error:
Note:
See TracChangeset
for help on using the changeset viewer.