Skip to content

Commit

Permalink
Sleep done before mismatch handler (#4165)
Browse files Browse the repository at this point in the history
* Sleep done before mismatch handler
  • Loading branch information
prsunny authored and abdosi committed Feb 24, 2020
1 parent bb73687 commit 20510d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion files/scripts/arp_update
Original file line number Diff line number Diff line change
Expand Up @@ -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=',')
Expand All @@ -67,5 +70,4 @@ while /bin/true; do
fi
done

sleep 300
done

0 comments on commit 20510d5

Please sign in to comment.