Commit 990e715a authored by Pekka Pessi's avatar Pekka Pessi

outbound.c: ignore empty rport parameter when detecting NAT binding changes

darcs-hash:20061122190638-65a35-edce178b4a4d0f42bd7169525e08e49fd07ac5b3.gz
parent 1ec77e86
......@@ -524,7 +524,7 @@ int outbound_nat_detect(outbound_t *ob,
if (nat_detected && host_cmp(received, nat_detected) == 0) {
if (nat_port && strcasecmp(rport, nat_port) == 0)
return 1;
if (v->v_rport == NULL)
if (!v->v_rport || !v->v_rport[0])
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment