commit | ceee5f8436b8e0cd1f4b715c88e4ca698042a217 | [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 | e213feb067efede72a9b40808f9cc90ed97c95c6 | |
parent | 28abcaae9016209d7d2ab549a92529f05aaae69d [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