akashgoswami / ipm

IOTA node peer manager. Useful for monitoring IOTA peers
MIT License
72 stars 24 forks source link

IPv6 error when removing a neighbor #46

Open nuriel77 opened 6 years ago

nuriel77 commented 6 years ago

While I manage to add IPv6 neighbors, I cannot remove them. The syntax I provide when adding IPv6 address is: udp://[2a01:xxx:xxxx:xxx:xxxx:xx:fe66:ba41]:14600: note the square brackets. That works fine. Removing however results in the error shown in the image (missing the square brackets?) image

Logs example:

Jan  2 20:52:42 x-vps iotapm: !!!!Adding peer { address: 'udp://[2a02:xxxx:xxxx:xxxx::1]:14600' }

And error removing:

Jan  2 20:55:13 x-vps iotapm: !!!!Removing peer { address: 'udp://2a02:xxxx:xxxx:xxxx:0:0:0:1:14600' }
Jan  2 20:55:13 x-vps iotapm: Error: You have provided an invalid URI for your Neighbor: udp://2a02:xxxx:xxxx:xxxx:0:0:0:1:14600

iota-pm version 1.2.0

Thanks.