commit 5eb705d855191cf87b1cfbbae46d968f1ddd7eb3
Author: Matthew Toseland <t...@amphibian.dyndns.org>
Date:   Fri Jul 3 19:57:12 2009 +0100

    Sanity check for UPnP bandwidth autodetection


+               int upstreamBWLimit =
bwIndicator.getUpstramMaxBitRate();
+               if(downstreamBWLimit > 0 && downstreamBWLimit < 65536 ||
upstreamBWLimit > 0 && ups
+                       // These are kilobits, not bits, per second,
right?
+                       // Assume the router is buggy and don't
autoconfigure.

##################################################################

Congratz, you broke working code!

They are bits per second as specified by the specification. Hint: google
for UPnP_IGD_WANPPPConnection 1.0.pdf

NextGen$

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
Devl@freenetproject.org
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to