vcl: fix sendto for dgrams 18/33318/1
authorliuyacan <liuyacan@corp.netease.com>
Mon, 2 Aug 2021 12:15:05 +0000 (20:15 +0800)
committerliuyacan <liuyacan@corp.netease.com>
Mon, 2 Aug 2021 12:17:43 +0000 (20:17 +0800)
commitbc0c754116a287f7b6c24fbd0dffd6ef04f7957b
tree9eb51540388fd46c9682db9c9511a79fa46de68f
parentf71796e5279e086c669699e2fd8ee110d7086afa
vcl: fix sendto for dgrams

We need to set rmt address before sending connect, otherwise VPP
would connect to 0.0.0.0:0 and return invalid remote ip.

Type: fix

Signed-off-by: liuyacan <liuyacan@corp.netease.com>
Change-Id: I85ae6931c2ba9f2f77c9ab19a2f801f50745449c
src/vcl/vppcom.c