Update debug counter in `testReplyPing`
Change debug counter from DROPPED_IPV6_MULTICAST_PING to DROPPED_IPV6_NS_REPLIED_NON_DAD.
The DROPPED_IPV6_MULTICAST_PING counter is no longer used and scheduled for removal.
Test: atest CtsNetTestCases:android.net.cts.ApfIntegrationTest
Change-Id: I00eac8522b4e18b9bae8bfeab9d451314f88b5f9
diff --git a/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt b/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt
index c7d95a5..324078a 100644
--- a/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt
+++ b/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt
@@ -38,7 +38,7 @@
import android.net.apf.ApfConstants.IPV6_NEXT_HEADER_OFFSET
import android.net.apf.ApfConstants.IPV6_SRC_ADDR_OFFSET
import android.net.apf.ApfCounterTracker
-import android.net.apf.ApfCounterTracker.Counter.DROPPED_IPV6_MULTICAST_PING
+import android.net.apf.ApfCounterTracker.Counter.DROPPED_IPV6_NS_REPLIED_NON_DAD
import android.net.apf.ApfCounterTracker.Counter.FILTER_AGE_16384THS
import android.net.apf.ApfCounterTracker.Counter.PASSED_IPV6_ICMP
import android.net.apf.ApfV4Generator
@@ -716,7 +716,7 @@
// pass
// else
// transmit a ICMPv6 echo request packet with the first byte of the payload in the reply
- // increase DROPPED_IPV6_MULTICAST_PING counter
+ // increase DROPPED_IPV6_NS_REPLIED_NON_DAD counter
// drop
val program = gen
.addLoad16(R0, ETH_ETHERTYPE_OFFSET)
@@ -758,8 +758,8 @@
IPPROTO_ICMPV6, // partial_sum
false // udp
)
- // Warning: the program abuse DROPPED_IPV6_MULTICAST_PING for debugging purpose
- .addCountAndDrop(DROPPED_IPV6_MULTICAST_PING)
+ // Warning: the program abuse DROPPED_IPV6_NS_REPLIED_NON_DAD for debugging purpose
+ .addCountAndDrop(DROPPED_IPV6_NS_REPLIED_NON_DAD)
.defineLabel(skipPacketLabel)
.addPass()
.generate()