Skip to content

Commit 874a712

Browse files
prsunnytiantianlv
authored andcommitted
Sleep done before mismatch handler (sonic-net#4165)
* Sleep done before mismatch handler
1 parent f8054bb commit 874a712

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

files/scripts/arp_update

+3-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ while /bin/true; do
4747
eval `eval $ip6cmd`
4848
done
4949

50+
# sleep here before handling the mismatch as it is not required during startup
51+
sleep 300
52+
5053
# refresh neighbor entries from APP_DB in case of mismatch with kernel
5154
DBNEIGH=$(sonic-db-cli APPL_DB keys NEIGH_TABLE*)
5255
KERNEIGH4=$(ip -4 neigh show | grep Vlan | cut -d ' ' -f 1,3 --output-delimiter=',')
@@ -67,5 +70,4 @@ while /bin/true; do
6770
fi
6871
done
6972

70-
sleep 300
7173
done

0 commit comments

Comments
 (0)