Blame SOURCES/0013-Chrony-allow-signed-numbers.patch

3efdbb
From deae1ee7eafff09b983ba7b9bcb7e59df92a5cea Mon Sep 17 00:00:00 2001
3efdbb
From: Miroslav Lichvar <mlichvar@redhat.com>
3efdbb
Date: Wed, 3 Jun 2015 17:31:07 +0200
3efdbb
Subject: [PATCH] Chrony: allow signed numbers
3efdbb
3efdbb
---
3efdbb
 lenses/chrony.aug            | 4 ++--
3efdbb
 lenses/tests/test_chrony.aug | 4 ++--
3efdbb
 2 files changed, 4 insertions(+), 4 deletions(-)
3efdbb
3efdbb
diff --git a/lenses/chrony.aug b/lenses/chrony.aug
3efdbb
index 32575688..5e30ee1f 100644
3efdbb
--- a/lenses/chrony.aug
3efdbb
+++ b/lenses/chrony.aug
3efdbb
@@ -50,10 +50,10 @@ module Chrony =
3efdbb
     let word       = Rx.word
3efdbb
 
3efdbb
     (* Variable: integer *)
3efdbb
-    let integer    = Rx.integer
3efdbb
+    let integer    = Rx.relinteger
3efdbb
 
3efdbb
     (* Variable: decimal *)
3efdbb
-    let decimal    = Rx.decimal
3efdbb
+    let decimal    = Rx.reldecimal
3efdbb
 
3efdbb
     (* Variable: ip *)
3efdbb
     let ip         = Rx.ip
3efdbb
diff --git a/lenses/tests/test_chrony.aug b/lenses/tests/test_chrony.aug
3efdbb
index c4b552eb..905ecee4 100644
3efdbb
--- a/lenses/tests/test_chrony.aug
3efdbb
+++ b/lenses/tests/test_chrony.aug
3efdbb
@@ -25,7 +25,7 @@ peer ntpc1.example.com
3efdbb
 stratumweight 0
3efdbb
 driftfile /var/lib/chrony/drift
3efdbb
 rtcsync
3efdbb
-makestep 10 3
3efdbb
+makestep 10 -1
3efdbb
 bindcmdaddress 127.0.0.1
3efdbb
 bindcmdaddress ::1
3efdbb
 local stratum 10
3efdbb
@@ -87,7 +87,7 @@ initstepslew 30 foo.bar.com baz.quz.com
3efdbb
   { "rtcsync" }
3efdbb
   { "makestep"
3efdbb
     { "threshold" = "10" }
3efdbb
-    { "limit" = "3" }
3efdbb
+    { "limit" = "-1" }
3efdbb
   }
3efdbb
   { "bindcmdaddress" = "127.0.0.1" }
3efdbb
   { "bindcmdaddress" = "::1" }
3efdbb
-- 
9f41aa
2.24.1
3efdbb