spr-networks / super

📡 SPR: Open Source, secure, user friendly and fast wifi routers for your home. One wifi password per device. Ad Blocking & Privacy Blocklists. Policy Based Network Access
https://www.supernetworks.org/
BSD 3-Clause "New" or "Revised" License
182 stars 13 forks source link

Wireguard Default Endpoint Ignored During Add Peer #266

Closed d-a-v-e-g closed 8 months ago

d-a-v-e-g commented 9 months ago

The Default Endpoint when set will not be reflected as the default when you add a peer. Repro: Set the default endpoint, add a peer without specifying the endpoint, observe the Endpoint value in the Peer settings.

lts-rad commented 9 months ago

this has been addressed by 94e69bb5860a59dcc2b28080d5319d139962aeb3

@lts-po:

a combo of things caused this here. first this uses the older react style component which uses this.setState, which has more state transitions. second this about state in select, which react always gets wrong.