check the length of dest_ports
Merge pull request #18 from k-okada/master

Check the length of dest_ports