Fix extraction of network interface