You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the static bindings are not "reserved".
In the _selectAdress function, if a static binding exists, then the IP is returned, but it's never checked if the IP is already in lease or not.
Two possibilities to solve :
Let the static return like that, but if the address is already in lease, force the client who owns this address to change (renew)
Get all the static addresses and add them in the "known addresses" so that it is reserved to the binded MAC, something like :
for(varbindinstatic){ips.push(static[bind]);}
This solution seems impossible if the static option in the config is a function ...
Let me know if I'm wrong on this issue.
The text was updated successfully, but these errors were encountered:
It seems that the static bindings are not "reserved".
In the _selectAdress function, if a static binding exists, then the IP is returned, but it's never checked if the IP is already in lease or not.
Two possibilities to solve :
Let the static return like that, but if the address is already in lease, force the client who owns this address to change (renew)
Get all the static addresses and add them in the "known addresses" so that it is reserved to the binded MAC, something like :
This solution seems impossible if the static option in the config is a function ...
Let me know if I'm wrong on this issue.
The text was updated successfully, but these errors were encountered: