apps/system/utils: Fix wrong calculation of packet loss
apps/system/utils: Fix wrong calculation of packet loss

This patch fixes wrong calculation of packet loss percentage in ping utility.

when 'g_ping_recv_counter' becomes zero, 'packet loss' should be 100%.
But  with current calcualation it shows 'packet loss' as 'Infinity' as divisor 'g_ping_recv_counter' is zero.

Signed-off-by: Lokesh B V <a10c1c2561c872cd1fd5899c4340d5ec87a91507@partner.samsung.com>

davidfather/TizenRT,pillip8282/TizenRT,chanijjani/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT,Samsung/TizenRT,btheosam/TizenRT,an4967/TizenRT,junmin-kim/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,davidfather/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,lokeshbv/TizenRT,davidfather/TizenRT,jeongarmy/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,lokeshbv/TizenRT,jeongchanKim/TizenRT,jsdosa/TizenRT,davidfather/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,JeonginKim/TizenRT,sunghan-chang/TizenRT,JeonginKim/TizenRT,lokeshbv/TizenRT,junmin-kim/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,JeonginKim/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,btheosam/TizenRT,chanijjani/TizenRT,an4967/TizenRT,JeonginKim/TizenRT,Samsung/TizenRT,pillip8282/TizenRT,sunghan-chang/TizenRT,an4967/TizenRT,HONGCHAEHEE/TizenRT,sunghan-chang/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,HONGCHAEHEE/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT,sunghan-chang/TizenRT,jeongchanKim/TizenRT,JeonginKim/TizenRT,chanijjani/TizenRT,HONGCHAEHEE/TizenRT,btheosam/TizenRT,jeongarmy/TizenRT,davidfather/TizenRT,jsdosa/TizenRT,lokeshbv/TizenRT,Samsung/TizenRT,Samsung/TizenRT,HONGCHAEHEE/TizenRT,jeongarmy/TizenRT,HONGCHAEHEE/TizenRT,sunghan-chang/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,btheosam/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,JeonginKim/TizenRT,jeongarmy/TizenRT,lokeshbv/TizenRT,Samsung/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,HONGCHAEHEE/TizenRT,btheosam/TizenRT,jeongchanKim/TizenRT,pillip8282/TizenRT,jeongchanKim/TizenRT,an4967/TizenRT,btheosam/TizenRT,jeongchanKim/TizenRT,chanijjani/TizenRT,an4967/TizenRT,lokeshbv/TizenRT,an4967/TizenRT,chanijjani/TizenRT