ngoduykhanh / wireguard-ui

Wireguard web interface
MIT License
4.03k stars 499 forks source link

Fix duplicated ip suggestions #505

Closed angiglesias closed 9 months ago

angiglesias commented 9 months ago

When a Wireguard server interface has two addresses on the same subnet, the IP suggestions API call gives duplicated addresses.

Test escenario:

0xCA commented 9 months ago

Added a fix for this in #481

ngoduykhanh commented 9 months ago

Thanks for the PR. The patch was applied in https://github.com/ngoduykhanh/wireguard-ui/pull/481. I will take care of upgrading versions in another PR.