commit | 9f03f9e6e5f5c25f86675b5a100505df76f2129a | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Tue Oct 24 11:39:56 2023 -0700 |
committer | Patrick Rohr <prohr@google.com> | Tue Oct 24 15:04:19 2023 -0700 |
tree | 6b1ca89030d7cbe766eba0d7ed3261c7f8e74d9e | |
parent | 3b2c559149923c6e9fb5a99aeac1333d063d7116 [diff] |
Create IpPrefix in IaPrefixOption 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. Test: TH Change-Id: I7e0090735022d017ba11aa85266ba19e65807da7