commit 5eb705d855191cf87b1cfbbae46d968f1ddd7eb3
Author: Matthew Toseland <toad at 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$
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090709/d447f201/attachment.pgp>