Page 1 of 1

Max Speed on UPnP Ports should be in Kbytes

Posted: Wed Dec 19, 2012 8:04 am
by Libra
The Max Speed on UPnP Ports (/port_forwarding.sh) should be entered in Kbytes instead of Kbit because miniupnp does * 8.

Code: Select all

diff --git a/package/gargoyle/files/www/port_forwarding.sh b/package/gargoyle/files/www/port_forwarding.sh
index 46b297a..c83d4db 100755
--- a/package/gargoyle/files/www/port_forwarding.sh
+++ b/package/gargoyle/files/www/port_forwarding.sh
@@ -89,7 +89,7 @@
 			<label class='leftcolumn' for='upnp_up' id='upnp_up_label'>Max Up Speed on UPnP Ports:</label>
 			<span class = 'rightcolumn'>
 				<input type='text' class='rightcolumn' id='upnp_up' onkeyup='proofreadNumeric(this)' size='5' maxlength='5' />
-				<em>Kbit / second</em>
+				<em>Kbytes / second</em>
 			</span>
 		</div>
 
@@ -97,7 +97,7 @@
 			<label class='leftcolumn' for='upnp_down' id='upnp_down_label'>Max Down Speed on UPnP Ports:</label>
 			<span class='rightcolumn'>
 				<input type='text' id='upnp_down' onkeyup='proofreadNumeric(this)' size='5' maxlength='5' />
-				<em>Kbit / second</em>
+				<em>Kbytes / second</em>
 			</span>
 		</div>
 		

Re: Max Speed on UPnP Ports should be in Kbytes

Posted: Fri Dec 21, 2012 11:17 am
by pbix
I committed this fix today, thanks for the report.