diff --git a/adapter/syscall/ff_hook_syscall.c b/adapter/syscall/ff_hook_syscall.c index ff52de606..f7520b390 100644 --- a/adapter/syscall/ff_hook_syscall.c +++ b/adapter/syscall/ff_hook_syscall.c @@ -766,6 +766,9 @@ ff_hook_recvfrom(int fd, void *buf, size_t len, int flags, } } + /* sh_fromlen is input and output param */ + *sh_fromlen = *fromlen; + args->from = sh_from; args->fromlen = sh_fromlen; } else {