tuntap: fix strncpy null char by zeroing buffer