Fix #10287 network.ip_address don't recognize interfaces with dashes in ...

Allow interface names with dashes.