interfacenames: simplify the script

This makes also the ipv6 interface names to be printed.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>