net: ping: reset stored IP address
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Jun 2020 09:15:57 +0000 (11:15 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 5 Aug 2020 03:30:02 +0000 (23:30 -0400)
commitdef7a5c00f4a84edf7a8a83c28bf9a7063e00731
tree4bc2f19aa2c20fc43bc5046c31eca8a590025227
parenta08f2f7b944f6926843b26a216db58b8d02a19e1
net: ping: reset stored IP address

Reset the stored ping IP address before entering a netloop with different
protocol to ensure that it won't be interrupted by the received
correct ICMP_ECHO_REPLY packet.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
net/net.c