Limit splitting of interface names to one dash

Issue #511 - interfaces with - in the name cause exception