]> git.proxmox.com Git - mirror_ifupdown2.git/commit
dhcp: fix dhclient client killed on no wait
authorAdrien Banlin <a.banlin@alphalink.fr>
Mon, 2 May 2022 10:24:58 +0000 (12:24 +0200)
committerAdrien Banlin <a.banlin@alphalink.fr>
Mon, 2 May 2022 10:30:02 +0000 (12:30 +0200)
commitd0efa7d5f35cfb862c7004ae37ade3397cadd24c
treee632bb41930947a09499a0453c26f959cf46791a
parentbb29085200132c877e8d5d1efd99c35a85922f6c
dhcp: fix dhclient client killed on no wait

When a policy dhcp-wait is false the dhcp client is run directly in
background.

But, in most cases, the client won't have the time to find an address
before a check occur.

This is making the client being killed nearly every time.

The obvious solution here is to not check ips differences when no-wait
is asked by the policy.
ifupdown2/addons/dhcp.py