commit | e4259d3e5353475673f361828aca949a60f7e1d5 | [log] [tgz] |
---|---|---|
author | evitayan <evitayan@google.com> | Thu Mar 22 17:53:08 2018 -0700 |
committer | evitayan <evitayan@google.com> | Thu Oct 04 11:44:00 2018 -0700 |
tree | 04e6e41a0ce06873e8ab788933dfb633fbb92dca | |
parent | 0a7d3e342494e4b534647c8b296861a041da85b1 [diff] |
Check to ensure UDP-encap is used only for IPv4 This commit checks if UDP-encapsulation is used for unsupported address family and throws IllegalArgumentException when it happens. Bug: 74213459 Test: Tests added in testCreateTransportModeTransformWithEncap and testCreateTunnelModeTransformWithEncap. Command: runtest frameworks-net Verified on taimen. Change-Id: I10c01f2bad6aca23430849ea9ef6c1eb157ae131