commit | 5d3dcb0d648cf8329fb9e005b13be0c7e870ce56 | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Mon Apr 01 12:34:17 2024 +0900 |
committer | Xiao Ma <xiaom@google.com> | Mon Apr 01 12:51:19 2024 +0900 |
tree | 68bcd50f675ccfb96439e6fef28b26f95b8539ac | |
parent | af2fc5669815647c1ef93abd9156da0205005b1a [diff] |
Create IpPrefix in PrefixInformationOption constructor The constructor is invoked during Struct#parse() at which point we might as well try to create the IpPrefix object which will be used later. If this fails for some reason (UnknownHostException or ClassCastException), the prefix is bogus and should not be used. Bug: 315069348 Test: TH Change-Id: I58eda41f98b774fe97389beb1b84e164634a20d3