fixed iface logic
Merge pull request #66 from jacobwagner/master

fixed iface logic