[arch-commits] Commit in dhcp/repos (16 files)
Date: Tuesday, October 10, 2017 @ 11:11:46 Author: eworm Revision: 307302 archrelease: copy trunk to testing-i686, testing-x86_64 Added: dhcp/repos/testing-i686/ dhcp/repos/testing-i686/0001-dhcp-honor-expired.patch (from rev 307301, dhcp/trunk/0001-dhcp-honor-expired.patch) dhcp/repos/testing-i686/PKGBUILD (from rev 307301, dhcp/trunk/PKGBUILD) dhcp/repos/testing-i686/dhclient@.service (from rev 307301, dhcp/trunk/dhclient@.service) dhcp/repos/testing-i686/dhcp-sysusers.conf (from rev 307301, dhcp/trunk/dhcp-sysusers.conf) dhcp/repos/testing-i686/dhcp.install (from rev 307301, dhcp/trunk/dhcp.install) dhcp/repos/testing-i686/dhcpd4.service (from rev 307301, dhcp/trunk/dhcpd4.service) dhcp/repos/testing-i686/dhcpd6.service (from rev 307301, dhcp/trunk/dhcpd6.service) dhcp/repos/testing-x86_64/ dhcp/repos/testing-x86_64/0001-dhcp-honor-expired.patch (from rev 307301, dhcp/trunk/0001-dhcp-honor-expired.patch) dhcp/repos/testing-x86_64/PKGBUILD (from rev 307301, dhcp/trunk/PKGBUILD) dhcp/repos/testing-x86_64/dhclient@.service (from rev 307301, dhcp/trunk/dhclient@.service) dhcp/repos/testing-x86_64/dhcp-sysusers.conf (from rev 307301, dhcp/trunk/dhcp-sysusers.conf) dhcp/repos/testing-x86_64/dhcp.install (from rev 307301, dhcp/trunk/dhcp.install) dhcp/repos/testing-x86_64/dhcpd4.service (from rev 307301, dhcp/trunk/dhcpd4.service) dhcp/repos/testing-x86_64/dhcpd6.service (from rev 307301, dhcp/trunk/dhcpd6.service) --+ testing-i686/0001-dhcp-honor-expired.patch | 49 testing-i686/PKGBUILD| 102 + testing-i686/dhclient@.service | 10 ++ testing-i686/dhcp-sysusers.conf |1 testing-i686/dhcp.install| 14 +++ testing-i686/dhcpd4.service | 15 +++ testing-i686/dhcpd6.service | 15 +++ testing-x86_64/0001-dhcp-honor-expired.patch | 49 testing-x86_64/PKGBUILD | 102 + testing-x86_64/dhclient@.service | 10 ++ testing-x86_64/dhcp-sysusers.conf|1 testing-x86_64/dhcp.install | 14 +++ testing-x86_64/dhcpd4.service| 15 +++ testing-x86_64/dhcpd6.service| 15 +++ 14 files changed, 412 insertions(+) Copied: dhcp/repos/testing-i686/0001-dhcp-honor-expired.patch (from rev 307301, dhcp/trunk/0001-dhcp-honor-expired.patch) === --- testing-i686/0001-dhcp-honor-expired.patch (rev 0) +++ testing-i686/0001-dhcp-honor-expired.patch 2017-10-10 11:11:46 UTC (rev 307302) @@ -0,0 +1,49 @@ +diff -up dhcp-4.3.0a1/client/dhc6.c.honor-expired dhcp-4.3.0a1/client/dhc6.c +--- dhcp-4.3.0a1/client/dhc6.c.honor-expired 2013-12-19 16:00:28.062183037 +0100 dhcp-4.3.0a1/client/dhc6.c 2013-12-19 16:00:28.076182842 +0100 +@@ -1351,6 +1351,32 @@ start_info_request6(struct client_state + go_daemon(); + } + ++/* Run through the addresses in lease and return true if there's any unexpired. ++ * Return false otherwise. ++ */ ++isc_boolean_t ++unexpired_address_in_lease(struct dhc6_lease *lease) ++{ ++ struct dhc6_ia *ia; ++ struct dhc6_addr *addr; ++ ++ for (ia = lease->bindings ; ia != NULL ; ia = ia->next) { ++ for (addr = ia->addrs ; addr != NULL ; addr = addr->next) { ++ if (addr->flags & DHC6_ADDR_EXPIRED) ++ continue; ++ ++ if (addr->starts + addr->max_life > cur_time) { ++ return ISC_TRUE; ++ } ++ } ++ } ++ ++ log_info("PRC: Previous lease is devoid of active addresses." ++ " Re-initializing."); ++ ++ return ISC_FALSE; ++} ++ + /* + * start_confirm6() kicks off an "init-reboot" version of the process, at + * startup to find out if old bindings are 'fair' and at runtime whenever +@@ -1363,8 +1389,10 @@ start_confirm6(struct client_state *clie + + /* If there is no active lease, there is nothing to check. */ + if ((client->active_lease == NULL) || +- !active_prefix(client) || +- client->active_lease->released) { ++ !active_prefix(client) || ++ client->active_lease->released || ++ !unexpired_address_in_lease(client->active_lease)) { ++ dhc6_lease_destroy(>active_lease, MDL); + start_init6(client); + return; + } Copied: dhcp/repos/testing-i686/PKGBUILD (from rev 307301, dhcp/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2017-10-10 11:11:46 UTC (rev 307302)
[arch-commits] Commit in dhcp/repos (16 files)
Date: Thursday, September 10, 2015 @ 09:08:43 Author: fyan Revision: 245696 archrelease: copy trunk to testing-i686, testing-x86_64 Added: dhcp/repos/testing-i686/ dhcp/repos/testing-i686/PKGBUILD (from rev 245695, dhcp/trunk/PKGBUILD) dhcp/repos/testing-i686/arch_patch_over_lfs.patch (from rev 245695, dhcp/trunk/arch_patch_over_lfs.patch) dhcp/repos/testing-i686/dhcp-4.3.1-client_script-1.patch (from rev 245695, dhcp/trunk/dhcp-4.3.1-client_script-1.patch) dhcp/repos/testing-i686/dhcp-4.3.1-missing_ipv6-1.patch (from rev 245695, dhcp/trunk/dhcp-4.3.1-missing_ipv6-1.patch) dhcp/repos/testing-i686/dhcp.install (from rev 245695, dhcp/trunk/dhcp.install) dhcp/repos/testing-i686/dhcpd4.service (from rev 245695, dhcp/trunk/dhcpd4.service) dhcp/repos/testing-i686/dhcpd6.service (from rev 245695, dhcp/trunk/dhcpd6.service) dhcp/repos/testing-x86_64/ dhcp/repos/testing-x86_64/PKGBUILD (from rev 245695, dhcp/trunk/PKGBUILD) dhcp/repos/testing-x86_64/arch_patch_over_lfs.patch (from rev 245695, dhcp/trunk/arch_patch_over_lfs.patch) dhcp/repos/testing-x86_64/dhcp-4.3.1-client_script-1.patch (from rev 245695, dhcp/trunk/dhcp-4.3.1-client_script-1.patch) dhcp/repos/testing-x86_64/dhcp-4.3.1-missing_ipv6-1.patch (from rev 245695, dhcp/trunk/dhcp-4.3.1-missing_ipv6-1.patch) dhcp/repos/testing-x86_64/dhcp.install (from rev 245695, dhcp/trunk/dhcp.install) dhcp/repos/testing-x86_64/dhcpd4.service (from rev 245695, dhcp/trunk/dhcpd4.service) dhcp/repos/testing-x86_64/dhcpd6.service (from rev 245695, dhcp/trunk/dhcpd6.service) -+ testing-i686/PKGBUILD | 99 +++ testing-i686/arch_patch_over_lfs.patch | 27 testing-i686/dhcp-4.3.1-client_script-1.patch | 645 ++ testing-i686/dhcp-4.3.1-missing_ipv6-1.patch| 48 + testing-i686/dhcp.install | 14 testing-i686/dhcpd4.service | 12 testing-i686/dhcpd6.service | 12 testing-x86_64/PKGBUILD | 99 +++ testing-x86_64/arch_patch_over_lfs.patch| 27 testing-x86_64/dhcp-4.3.1-client_script-1.patch | 645 ++ testing-x86_64/dhcp-4.3.1-missing_ipv6-1.patch | 48 + testing-x86_64/dhcp.install | 14 testing-x86_64/dhcpd4.service | 12 testing-x86_64/dhcpd6.service | 12 14 files changed, 1714 insertions(+) The diff is longer than the limit of 200KB. Use svn diff -r 245695:245696 to see the changes.
[arch-commits] Commit in dhcp/repos (16 files)
Date: Monday, March 23, 2015 @ 22:10:05 Author: anatolik Revision: 234588 archrelease: copy trunk to testing-i686, testing-x86_64 Added: dhcp/repos/testing-i686/ dhcp/repos/testing-i686/PKGBUILD (from rev 234587, dhcp/trunk/PKGBUILD) dhcp/repos/testing-i686/arch_patch_over_lfs.patch (from rev 234587, dhcp/trunk/arch_patch_over_lfs.patch) dhcp/repos/testing-i686/dhcp-4.3.1-client_script-1.patch (from rev 234587, dhcp/trunk/dhcp-4.3.1-client_script-1.patch) dhcp/repos/testing-i686/dhcp-4.3.1-missing_ipv6-1.patch (from rev 234587, dhcp/trunk/dhcp-4.3.1-missing_ipv6-1.patch) dhcp/repos/testing-i686/dhcp.install (from rev 234587, dhcp/trunk/dhcp.install) dhcp/repos/testing-i686/dhcpd4.service (from rev 234587, dhcp/trunk/dhcpd4.service) dhcp/repos/testing-i686/dhcpd6.service (from rev 234587, dhcp/trunk/dhcpd6.service) dhcp/repos/testing-x86_64/ dhcp/repos/testing-x86_64/PKGBUILD (from rev 234587, dhcp/trunk/PKGBUILD) dhcp/repos/testing-x86_64/arch_patch_over_lfs.patch (from rev 234587, dhcp/trunk/arch_patch_over_lfs.patch) dhcp/repos/testing-x86_64/dhcp-4.3.1-client_script-1.patch (from rev 234587, dhcp/trunk/dhcp-4.3.1-client_script-1.patch) dhcp/repos/testing-x86_64/dhcp-4.3.1-missing_ipv6-1.patch (from rev 234587, dhcp/trunk/dhcp-4.3.1-missing_ipv6-1.patch) dhcp/repos/testing-x86_64/dhcp.install (from rev 234587, dhcp/trunk/dhcp.install) dhcp/repos/testing-x86_64/dhcpd4.service (from rev 234587, dhcp/trunk/dhcpd4.service) dhcp/repos/testing-x86_64/dhcpd6.service (from rev 234587, dhcp/trunk/dhcpd6.service) -+ testing-i686/PKGBUILD | 99 +++ testing-i686/arch_patch_over_lfs.patch | 27 testing-i686/dhcp-4.3.1-client_script-1.patch | 645 ++ testing-i686/dhcp-4.3.1-missing_ipv6-1.patch| 48 + testing-i686/dhcp.install | 14 testing-i686/dhcpd4.service | 12 testing-i686/dhcpd6.service | 12 testing-x86_64/PKGBUILD | 99 +++ testing-x86_64/arch_patch_over_lfs.patch| 27 testing-x86_64/dhcp-4.3.1-client_script-1.patch | 645 ++ testing-x86_64/dhcp-4.3.1-missing_ipv6-1.patch | 48 + testing-x86_64/dhcp.install | 14 testing-x86_64/dhcpd4.service | 12 testing-x86_64/dhcpd6.service | 12 14 files changed, 1714 insertions(+) The diff is longer than the limit of 200KB. Use svn diff -r 234587:234588 to see the changes.
[arch-commits] Commit in dhcp/repos (16 files)
Date: Monday, September 22, 2014 @ 03:53:33 Author: anatolik Revision: 222555 archrelease: copy trunk to testing-i686, testing-x86_64 Added: dhcp/repos/testing-i686/ dhcp/repos/testing-i686/PKGBUILD (from rev 222554, dhcp/trunk/PKGBUILD) dhcp/repos/testing-i686/arch_patch_over_lfs.patch (from rev 222554, dhcp/trunk/arch_patch_over_lfs.patch) dhcp/repos/testing-i686/dhcp-4.3.1-client_script-1.patch (from rev 222554, dhcp/trunk/dhcp-4.3.1-client_script-1.patch) dhcp/repos/testing-i686/dhcp-4.3.1-missing_ipv6-1.patch (from rev 222554, dhcp/trunk/dhcp-4.3.1-missing_ipv6-1.patch) dhcp/repos/testing-i686/dhcp.install (from rev 222554, dhcp/trunk/dhcp.install) dhcp/repos/testing-i686/dhcpd4.service (from rev 222554, dhcp/trunk/dhcpd4.service) dhcp/repos/testing-i686/dhcpd6.service (from rev 222554, dhcp/trunk/dhcpd6.service) dhcp/repos/testing-x86_64/ dhcp/repos/testing-x86_64/PKGBUILD (from rev 222554, dhcp/trunk/PKGBUILD) dhcp/repos/testing-x86_64/arch_patch_over_lfs.patch (from rev 222554, dhcp/trunk/arch_patch_over_lfs.patch) dhcp/repos/testing-x86_64/dhcp-4.3.1-client_script-1.patch (from rev 222554, dhcp/trunk/dhcp-4.3.1-client_script-1.patch) dhcp/repos/testing-x86_64/dhcp-4.3.1-missing_ipv6-1.patch (from rev 222554, dhcp/trunk/dhcp-4.3.1-missing_ipv6-1.patch) dhcp/repos/testing-x86_64/dhcp.install (from rev 222554, dhcp/trunk/dhcp.install) dhcp/repos/testing-x86_64/dhcpd4.service (from rev 222554, dhcp/trunk/dhcpd4.service) dhcp/repos/testing-x86_64/dhcpd6.service (from rev 222554, dhcp/trunk/dhcpd6.service) -+ testing-i686/PKGBUILD | 99 +++ testing-i686/arch_patch_over_lfs.patch | 27 testing-i686/dhcp-4.3.1-client_script-1.patch | 645 ++ testing-i686/dhcp-4.3.1-missing_ipv6-1.patch| 48 + testing-i686/dhcp.install | 14 testing-i686/dhcpd4.service | 12 testing-i686/dhcpd6.service | 12 testing-x86_64/PKGBUILD | 99 +++ testing-x86_64/arch_patch_over_lfs.patch| 27 testing-x86_64/dhcp-4.3.1-client_script-1.patch | 645 ++ testing-x86_64/dhcp-4.3.1-missing_ipv6-1.patch | 48 + testing-x86_64/dhcp.install | 14 testing-x86_64/dhcpd4.service | 12 testing-x86_64/dhcpd6.service | 12 14 files changed, 1714 insertions(+) The diff is longer than the limit of 200KB. Use svn diff -r 222554:222555 to see the changes.