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
1 file changed