MFC r271362: Make ctl_port_mask an array to support more then 32 ports.
Overflow reported by Coverity.
CID: 1229894
Approved by: re (marius)