ping6: resolve interface name to number early.
gcc is more efficient at truncating int to int16
via cast, use that instead of &.
diff --git a/networking/ping.c b/networking/ping.c
index 8ccb7e0..967a3e3 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -416,7 +416,7 @@
 	if (argc < 1)
 		bb_show_usage();
 
-	myid = getpid() & 0xFFFF;
+	myid = (int16_t) getpid();
 	ping(*argv);
 	return EXIT_SUCCESS;
 }