commit | b1280c0467300d84ec5afb4882f7aeb7471eb886 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Fri Sep 27 09:45:38 2024 -0700 |
committer | Patrick Rohr <prohr@google.com> | Fri Sep 27 12:19:02 2024 -0700 |
tree | 7dcae655dae66b6191ddedb1856bd6e7b52cab96 | |
parent | 65bf46db67552c61c1f1ce64265b60a79d0353ff [diff] |
Simplify getSanitizedSubAddr to 1-liner This assumes that PREFIX_LENGTH is 24. The change also adds a warning to make sure PREFIX_LENGTH is not updated without updating chooseDownstreamAddress. Test: TH Change-Id: I96a7f8bf273d69ed27320f9c6f5af4fd41f7097d