Fixes to port map
Merge pull request #4 from yotamhc/in_ports_masked2

In ports masked2