On 1 January 2013 18:24, Laurent Vivier <[email protected]> wrote: > From: Laurent Vivier <[email protected]> > > SO_SNDTIMEO and SO_RCVTIMEO take a struct timeval, not an int > > To test this, you can use : > > QEMU_STRACE= ping localhost 2>&1 |grep TIMEO > 568 setsockopt(3,SOL_SOCKET,SO_SNDTIMEO,{1,0},8) = 0 > 568 setsockopt(3,SOL_SOCKET,SO_RCVTIMEO,{1,0},8) = 0 > > Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: Peter Maydell <[email protected]> (indent on the case is dodgy but it matches the rest of the switch statement, so I'll let it pass.) -- PMM
