Update of bug #14548 (project mldonkey):

                Category:          Overnet-Plugin => Core                   
                 Summary: OV: peers with ip 1.0.0.0 and random port => peers
with ip 1.0.0.0 and random port

    _______________________________________________________

Follow-up Comment #1:

1.0.0.0 is not a valid ip, right? so:

 let valid (j,k,l,i) =
  match (j,k,l,i) with
      1, 0, 0, 0 -> false
    | _, _, _, _ ->
      j > 0 && j < 224 &&
      k >= 0 && k <= 255 &&
      l >= 0 && l <= 255 &&
      i >= 0 && i <= 255

patch included, ill test this
    _______________________________________________________

Additional Item Attachment:

File name: ip_valid.patch                 Size:0 KB

<http://savannah.nongnu.org/bugs/download.php?item_id=14548&item_file_id=2955>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14548>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
Mldonkey-bugs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-bugs

Reply via email to