Skip to content

Commit a813c24

Browse files
set TCP as default protocol in lb list (#3822)
1 parent 5ff932e commit a813c24

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

ui/scripts/network.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3441,21 +3441,21 @@
34413441
isEditable: true,
34423442
select: function(args) {
34433443
var data = [{
3444-
id: 'ssl',
3445-
name: 'ssl',
3446-
description: _l('label.lb.protocol.ssl')
3447-
}, {
34483444
id: 'tcp',
34493445
name: 'tcp',
34503446
description: _l('label.lb.protocol.tcp')
3447+
}, {
3448+
id: 'udp',
3449+
name: 'udp',
3450+
description: _l('label.lb.protocol.udp')
34513451
}, {
34523452
id: 'tcp-proxy',
34533453
name: 'tcp-proxy',
34543454
description: _l('label.lb.protocol.tcp.proxy')
34553455
}, {
3456-
id: 'udp',
3457-
name: 'udp',
3458-
description: _l('label.lb.protocol.udp')
3456+
id: 'ssl',
3457+
name: 'ssl',
3458+
description: _l('label.lb.protocol.ssl')
34593459
}];
34603460
if (typeof args.context != 'undefined') {
34613461
var lbProtocols = getLBProtocols(args.context.networks[0]);

0 commit comments

Comments
 (0)