ping6: resolve interface name to number early.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 2 Sep 2006 16:16:23 +0000 (16:16 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 2 Sep 2006 16:16:23 +0000 (16:16 -0000)
commitdb7f2e5881b9ae40896d7660cd2f2446f514c72d
tree302ceaf4aabb508dc8a772989fa1151f0406663b
parentcb6874cc66df69fe49c65338a67fec1206d02c4b
ping6: resolve interface name to number early.
gcc is more efficient at truncating int to int16
via cast, use that instead of &.
networking/ping.c
networking/ping6.c