diff --git a/lib/modules/testsuite.in b/lib/modules/testsuite.in
index d35e933365579f2220c95562d82e7d0774f4ae50..c77813ec0b66aabfb4462756367ba00d5af608db 100644
--- a/lib/modules/testsuite.in
+++ b/lib/modules/testsuite.in
@@ -304,7 +304,7 @@ define(test_local_network_type, [[
   // the local machine actually has the IP.
   test_network_type([[$1]],
                     [[ NetUtils.LOCAL, NetUtils.LOCALV6,
-                       NetUtils.LOCALHOST, NetUtils.LOCALHOSTv6, $2 ]],
+                       NetUtils.LOCALHOST, NetUtils.LOCALHOSTV6, $2 ]],
                     [[$3]])
 ]])