Hi Jukka,

On 13.07.2012 15:29, Jukka Rissanen wrote:
Fixes BMC#25486
---
  src/ntp.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ntp.c b/src/ntp.c
index 8c31fdb..f6b0f97 100644
--- a/src/ntp.c
+++ b/src/ntp.c
@@ -168,7 +168,7 @@ static void decode_msg(void *base, size_t len, struct 
timeval *tv)

        transmit_delay = LOGTOD(msg->poll);

-       if (msg->flags != 0x24)
+       if (msg->flags != 0x24 && msg->flags != 0x64)
                return;

Would you mind to change those magic numbers into some more readable form, e.g. some constants definition?

cheers,
daniel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to