fix storing udp port mappings in listen_socket_t

This commit is contained in:
Steven Siloti 2019-10-22 19:34:47 -07:00 committed by Arvid Norberg
parent 28a627a3a3
commit b26629885b
1 changed files with 1 additions and 1 deletions

View File

@ -5591,7 +5591,7 @@ namespace aux {
}
if (tcp) (*ls)->tcp_port_mapping[transport].port = port;
else (*ls)->tcp_port_mapping[transport].port = port;
else (*ls)->udp_port_mapping[transport].port = port;
}
if (!ec && m_alerts.should_post<portmap_alert>())