Fix compile bug
Extend usability of network_interface