浏览代码

Merge pull request #1356 from aboch/isb

Fix bug in ipsec key rotation
Madhu Venugopal 9 年之前
父节点
当前提交
f142339334
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libnetwork/drivers/overlay/encryption.go

+ 1 - 1
libnetwork/drivers/overlay/encryption.go

@@ -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 {