Re: [Dnsmasq-discuss] Why dhcp6 still returns DHCPADVERSISE after allocate lease failed?

2024-12-19 Thread Buck Horn via Dnsmasq-discuss
On 19.12.24 09:28, 胡义臻 wrote: Dear all, I start dnsmasq(version 2.86) with --dhcp-lease-max=1, only one DHCP lease can be allocated. I find that the behavior of IPv4 and IPv6 is inconsistent. IPv4 returns a DHCPNAK packet with log "no leases left". Although IPv6 does not allocate a lease in func

[Dnsmasq-discuss] Why dhcp6 still returns DHCPADVERSISE after allocate lease failed?

2024-12-19 Thread 胡义臻
Dear all, I start dnsmasq(version 2.86) with --dhcp-lease-max=1, only one DHCP lease can be allocated. I find that the behavior of IPv4 and IPv6 is inconsistent. IPv4 returns a DHCPNAK packet with log "no leases left". Although IPv6 does not allocate a lease in function lease_allocate, it still