Fix by YuvalAdler
When "--no-local-port" is used, the last port cannot be used so
in dp_ports.c, dp_ports_lookup() function should be updated for the case of no local port.