On 1 January 2013 18:24, Laurent Vivier <laur...@vivier.eu> wrote:
> From: Laurent Vivier <laur...@vivier.eu>
>
> 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 <laur...@vivier.eu>

Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>

(indent on the case is dodgy but it matches the rest of
the switch statement, so I'll let it pass.)

-- PMM

Reply via email to