aboutsummaryrefslogtreecommitdiffstats
path: root/main/chrony/max_resolve_interval.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-25 00:48:58 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-25 00:48:58 +0200
commitde2748dd329da13c2903c75b11a9a671ecb42c02 (patch)
tree8ec414d183f1ea3e309c40fa47b76e743f405a5a /main/chrony/max_resolve_interval.patch
parentb23988645eb0bce82996207e9c2fa1aeab6cb4ee (diff)
downloadaports-de2748dd329da13c2903c75b11a9a671ecb42c02.tar.bz2
aports-de2748dd329da13c2903c75b11a9a671ecb42c02.tar.xz
main/chrony: upgrade to 2.1.1
Diffstat (limited to 'main/chrony/max_resolve_interval.patch')
-rw-r--r--main/chrony/max_resolve_interval.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/chrony/max_resolve_interval.patch b/main/chrony/max_resolve_interval.patch
index 53026e71a9..eff5f388e9 100644
--- a/main/chrony/max_resolve_interval.patch
+++ b/main/chrony/max_resolve_interval.patch
@@ -2,12 +2,12 @@ Try fix behaviour when network is not available at bootup
--- ./ntp_sources.c.orig
+++ ./ntp_sources.c
-@@ -76,7 +76,7 @@
+@@ -85,7 +85,7 @@
#define RESOLVE_INTERVAL_UNIT 7
#define MIN_RESOLVE_INTERVAL 2
-#define MAX_RESOLVE_INTERVAL 9
+#define MAX_RESOLVE_INTERVAL 6
+ #define MIN_REPLACEMENT_INTERVAL 8
static struct UnresolvedSource *unresolved_sources = NULL;
- static int resolving_interval = 0;