1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix bug in ipsec key rotation

- which would leave a stale state behind
  at each key rotation.

Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
Alessandro Boch 2016-07-25 16:23:53 -07:00
parent 88b76892f3
commit bc6a60dae5

View file

@ -488,7 +488,7 @@ func updateNodeKey(lIP, rIP net.IP, idxs []*spi, curKeys []*key, newIdx, priIdx,
if delIdx != -1 {
// -rSA0
programSA(rIP, lIP, spis[delIdx], nil, reverse, false)
programSA(lIP, rIP, spis[delIdx], nil, reverse, false)
}
if newIdx > -1 {