commit | 0090e969aff7e01faee7a3fae63d8ef1d18f259f | [log] [tgz] |
---|---|---|
author | Hungming Chen <nuccachen@google.com> | Wed Sep 21 17:47:54 2022 +0800 |
committer | Nucca Chen <nuccachen@google.com> | Mon Sep 26 10:32:42 2022 +0000 |
tree | 3cf777799e1d6ea5cab8f9aa49c93fd2ed226aca | |
parent | 23196b6ccbeb4046ff4fda7751147c8ee262f84a [diff] |
ClatCoordinator: only dump information when clat is started ClatCoordinator should not rely on the caller Nat464Xlat to avoid dumping when clat is not started. It is safer to dump information after ClatCoordinator has checked its status. Only dumping ClatCoordinator with clatd started reduces the null pointer check of dumped elements as well. Test: atest ClatCoordinatorTest Change-Id: Ia0be9a593cd75fd34f647230d642b0dcf84aaf3b