Fixed conf parsing

This commit is contained in:
Caleb Gardner
2021-09-21 06:28:03 -05:00
parent b7fd4ec7d8
commit 8494ce672b
+2
View File
@@ -141,6 +141,8 @@ func parseConf() (links map[int]link, err error) {
} }
var l link var l link
if len(split) == 3 { if len(split) == 3 {
l.linkType = split[0]
split = split[1:]
} else { } else {
l.linkType = "tcp" l.linkType = "tcp"
} }