[fix] Pass proper arguments when enable/disable a port (fix #96)

This commit is contained in:
Jérôme Lebleu 2015-05-11 14:20:43 +02:00
parent 997bc17eb9
commit 82e5fae76d

View file

@ -1524,9 +1524,10 @@ app = Sammy('#main', function (sam) {
switch (connection) {
case 'ipv4':
endurl = 'ipv4_only';
break;
case 'ipv6':
endurl = 'ipv6'
endurl = 'ipv6_only';
break;
}
@ -1560,7 +1561,8 @@ app = Sammy('#main', function (sam) {
// - UDP
// - TCP
// - Both
// --ipv6:
// --ipv4-only:
// --ipv6-only:
// --no-upnp:
var params = {
'port' : port,