Fix #3149: port mapping of TCP + UDP

Signed-off-by: Tzu-Jung Lee <roylee17@gmail.com>
Merge pull request #3435 from roylee17/3149-fix_port_mapping_of_tcp_plus_udp

Fix #3149: port mapping of TCP + UDP