Added support for multiple interfaces in Linux.