sugarchain-project / explorer

Explorer Sugarchain
https://1explorer.sugarchain.org/
BSD 3-Clause "New" or "Revised" License
3 stars 11 forks source link

IPV6 addresses not showing full address #22

Open mooleshacat opened 4 years ago

mooleshacat commented 4 years ago

Hi

On network page I notice IPV6 addresses are being cut off... As more IPv6 nodes come online every day, I think this should be fixed.

Example:

107.11.42.85 | 70016 | Placeholders:2.0.30.5 | United States
-- | -- | -- | --
46.28.132.34 | 70016 | Placeholders:2.0.30.5 | Russia
[2601 | 70016 | Placeholders:2.0.30.5 |  
[2607 | 70016 | Placeholders:2.0.30.5 |  
[2a03 | 70016 | Placeholders:2.0.30.5 |  
[2001 | 70016 | Placeholders:2.0.30.5 |  
203.198.146.232 | 70016 | Placeholders:2.0.30.5 | Hong Kong SAR China

I think this is why the location lookup fails also. If not please also fix the location lookup for IPv6

Thank you

mooleshacat commented 4 years ago

img

https://pexa.easyx.cc/