From 5e90dc74905496f19c9b97f337341192b5f8b83a Mon Sep 17 00:00:00 2001 From: Nazar Hnydyn Date: Thu, 12 Oct 2017 18:13:08 +0300 Subject: [PATCH 1/2] Fixed NTP sync while using DHCP. --- files/image_config/ntp/ntp.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/image_config/ntp/ntp.conf.j2 b/files/image_config/ntp/ntp.conf.j2 index ae72820339be..d7df6bcd2e04 100644 --- a/files/image_config/ntp/ntp.conf.j2 +++ b/files/image_config/ntp/ntp.conf.j2 @@ -29,9 +29,13 @@ server {{ ntp_server }} iburst #only listen on localhost and eth0 ips (default is to listen on all ip addresses) interface ignore wildcard +{% if MGMT_INTERFACE %} {% for (mgmt_intf, mgmt_prefix) in MGMT_INTERFACE %} interface listen {{ mgmt_prefix | ip }} {% endfor %} +{% else %} +interface listen eth0 +{% endif %} interface listen 127.0.0.1 # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for From cc8aaf61b700cd886ec7b43e1f480a8e322656a5 Mon Sep 17 00:00:00 2001 From: Nazar Hnydyn Date: Fri, 24 Nov 2017 16:48:30 +0200 Subject: [PATCH 2/2] Updated sai-redis submodule. --- src/sonic-sairedis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sonic-sairedis b/src/sonic-sairedis index a3bbebf3bc3f..d12aa16a6e62 160000 --- a/src/sonic-sairedis +++ b/src/sonic-sairedis @@ -1 +1 @@ -Subproject commit a3bbebf3bc3f16aed522cde4cc5c034e87647d7e +Subproject commit d12aa16a6e6224d90bcca448aaa36cc4906eb6af