NetworkManager/shared/n-dhcp4/src
Beniamino Galvani a01198863a n-dhcp4: move back to INIT after lease expires
Move back to INIT state after the lease expires, as per section 4.4.5
of RFC 2131. Previously the client just moved to EXPIRED, closed the
connection and cleared the probe, leaving to the caller of the library
the choice to create a new client instance and to start from
scratch. However, it seems more useful that the client, once
initialized, always tries to get a lease even after an expiration.

(cherry picked from commit 182a8021f3)
2020-01-30 15:42:57 +01:00
..
util n-dhcp4: util/link: suppress gcc warning 2019-11-20 10:42:57 +01:00
libndhcp4.sym n-dhcp4/lease: expose the server IP address 2019-11-18 13:34:09 +01:00
meson.build Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00
n-dhcp4-c-connection.c n-dhcp4: allow calling listen() on already listening connection 2020-01-09 09:47:54 +01:00
n-dhcp4-c-lease.c lease: add n_dhcp4_client_lease_get_basetime() 2019-11-20 10:58:51 +01:00
n-dhcp4-c-probe.c n-dhcp4: move back to INIT after lease expires 2020-01-30 15:42:57 +01:00
n-dhcp4-client.c n-dhcp4: handle invalid return codes gracefully 2019-12-23 16:45:40 +01:00
n-dhcp4-incoming.c n-dhcp4: accept options that are longer than requested 2020-01-25 11:43:52 +01:00
n-dhcp4-outgoing.c n-dhcp4: avoid "-Werror=declaration-after-statement" warning with static_assert 2019-08-02 11:48:35 +02:00
n-dhcp4-private.h n-dhcp4: restart the transaction after a NAK 2020-01-09 09:47:56 +01:00
n-dhcp4-s-connection.c Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00
n-dhcp4-s-lease.c Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00
n-dhcp4-server.c Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00
n-dhcp4-socket.c n-dhcp4/socket: use SO_REUSEADDR on UDP socket 2019-12-11 09:25:05 +01:00
n-dhcp4.h n-dhcp4: add logging API 2019-11-22 10:24:49 +01:00
test-api.c n-dhcp4/lease: expose the server IP address 2019-11-18 13:34:09 +01:00
test-connection.c Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00
test-message.c Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00
test-run-client.c Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00
test-socket.c Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00
test.h Merge commit 'e23b3c9c3ac86b065eef002fa5c4321cc4a87df2' as 'shared/n-dhcp4' 2019-05-25 02:02:04 +02:00