commit | de802c8dc4f59735730fc24b0ca05a73f92e4bb5 | [log] [tgz] |
---|---|---|
author | Yuyang Huang <yuyanghuang@google.com> | Tue May 02 17:14:22 2023 +0900 |
committer | Yuyang Huang <yuyanghuang@google.com> | Thu May 04 13:24:23 2023 +0900 |
tree | 70d4685ac368177521fda9a1f05ee61cea4c44fc | |
parent | 441a32e39d180ca3410ea6ead2c44124038c2feb [diff] |
Avoid going over max service name length when renaming NSD services As per RFC 1034/1035, the max size of the label is 63 bytes. It should also be guaranteed when the serviceName is renamed due to the conflict. Bug: 265865456 Test: atest FrameworksNetTests Change-Id: I077d8abdb91071db62b9618d9918e3a12682aaf4