commit | b0d8f175b6317669d3b43b7032b1c3aadb65c524 | [log] [tgz] |
---|---|---|
author | Chia-chi Yeh <chiachi@android.com> | Tue Jul 12 15:14:38 2011 -0700 |
committer | Chia-chi Yeh <chiachi@android.com> | Tue Jul 12 15:27:49 2011 -0700 |
tree | aa732192a6b75250ac24d319f007baf708928974 | |
parent | ff1dc35ef76066b219ac42523445f69c774a2ee3 [diff] |
ipsec-tools: flush SPD and SAD for tunnel mode. In tunnel mode, policies in SPD and SAD have different addresses. The one in SPD has internal address from mode-cfg, and others in SAD bind interface address and remote address. Thus we need to use the internal address and remote address to filter SPD and SAD. This fix also rename myaddrs to sources. Change-Id: I39995ed8e94d355866fd0c95cd939bad8150a0bf