Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
collectors: Use closesocket() to close sockets.
We should use closesocket() while closing sockets so that closing sockets work fine on both POSIX and Windows. (In POSIX, we #define closesocket close) Without this change, sflow unit tests would cause ovs-vswitchd to crash in Windows. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
- Loading branch information