Limit splitting of interface names to one dash

Issue #511 - interfaces with - in the name cause exception
Merge pull request #523 from jimi1283/issue_511

Limit splitting of interface names to one dash