set TCP as default protocol in lb list (#3822)
diff --git a/ui/scripts/network.js b/ui/scripts/network.js
index f93fc55..ff4c9b4 100644
--- a/ui/scripts/network.js
+++ b/ui/scripts/network.js
@@ -3441,21 +3441,21 @@
isEditable: true,
select: function(args) {
var data = [{
- id: 'ssl',
- name: 'ssl',
- description: _l('label.lb.protocol.ssl')
- }, {
id: 'tcp',
name: 'tcp',
description: _l('label.lb.protocol.tcp')
}, {
+ id: 'udp',
+ name: 'udp',
+ description: _l('label.lb.protocol.udp')
+ }, {
id: 'tcp-proxy',
name: 'tcp-proxy',
description: _l('label.lb.protocol.tcp.proxy')
}, {
- id: 'udp',
- name: 'udp',
- description: _l('label.lb.protocol.udp')
+ id: 'ssl',
+ name: 'ssl',
+ description: _l('label.lb.protocol.ssl')
}];
if (typeof args.context != 'undefined') {
var lbProtocols = getLBProtocols(args.context.networks[0]);