From 20510d58d3b7f12237d787d7dc3feaec6ae47fe8 Mon Sep 17 00:00:00 2001 From: Prince Sunny Date: Thu, 20 Feb 2020 12:54:39 -0800 Subject: [PATCH] Sleep done before mismatch handler (#4165) * Sleep done before mismatch handler --- files/scripts/arp_update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/scripts/arp_update b/files/scripts/arp_update index 4c7d655cfd..3cc9cd2679 100755 --- a/files/scripts/arp_update +++ b/files/scripts/arp_update @@ -47,6 +47,9 @@ while /bin/true; do eval `eval $ip6cmd` done + # sleep here before handling the mismatch as it is not required during startup + sleep 300 + # refresh neighbor entries from APP_DB in case of mismatch with kernel DBNEIGH=$(sonic-db-cli APPL_DB keys NEIGH_TABLE*) KERNEIGH4=$(ip -4 neigh show | grep Vlan | cut -d ' ' -f 1,3 --output-delimiter=',') @@ -67,5 +70,4 @@ while /bin/true; do fi done - sleep 300 done