aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_parse.go')
-rw-r--r--src/c_parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_parse.go b/src/c_parse.go
index 3f71f99..4bb70dd 100644
--- a/src/c_parse.go
+++ b/src/c_parse.go
@@ -115,7 +115,7 @@ func c_read_yaml_file(file string, ui *HardUI) (*HostNode, error) {
if host.Height == 0 {
host.Height = 1200
}
- } else if host.Protocol > 1 {
+ } else if host.Protocol > 3 {
return nil, errors.New(file + ": unknown protocol")
}
if host.Quality > 2 {