[Connection][WiFi] Fix System.FormatException when parsing IPAddress 25/148225/1
authorchleun.moon <chleun.moon@samsung.com>
Thu, 7 Sep 2017 06:54:54 +0000 (15:54 +0900)
committerchleun.moon <chleun.moon@samsung.com>
Thu, 7 Sep 2017 06:55:01 +0000 (15:55 +0900)
commit0e943f26040791bd347cc1750012bb8f21666264
treed86692356628b1ab061cd6aa07df223fe392a904
parentac3919f56c171c58d1f8f5b7ac022e1895627800
[Connection][WiFi] Fix System.FormatException when parsing IPAddress

System.Net.IPAddress.Parse() cannot parse an empty string.
If empty string is delivered from native capi, it is replaced with
"0.0.0.0" for IPv4 or "::" for IPv6.

Change-Id: Id4d7c98f9b44e827d904372e8823cdd174e54687
Signed-off-by: cheoleun <chleun.moon@samsung.com>
src/Tizen.Network.Connection/Tizen.Network.Connection/ConnectionInternalManager.cs
src/Tizen.Network.Connection/Tizen.Network.Connection/IAddressInformation.cs
src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiAddressInformation.cs
src/Tizen.Network.WiFi/Tizen.Network.WiFi/WiFiNetwork.cs