commit | e274170ac6ab8f97dd1bd243bf45efe25bee5c10 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Fri Dec 09 18:07:53 2022 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Thu Dec 15 10:49:57 2022 +0900 |
tree | cd55839560053105007d4a4b7fbf5c8fea5f937a | |
parent | f1fdca69a5cbb8c347148b4a4084a1a9a8b34cfe [diff] |
Also use other compressed names in DNS compression The previous implementation of writeLabels would not include a compressed name in the label dictionary, so if a packet had "something.local", "a.service.local" and "b.service.local", "service.local" would not be compressed because "a.service.local" already used compression (for .local). Fix this and add a test. Bug: 254166302 Test: atest Change-Id: I41c557d6debd11acb4c0813735ef7af7323f45d7