aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_parse.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-02-01 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-02-01 20:20:20 +0100
commit80f8e7ecc663ca85e7dab7d4e60c8c6113bc4e9d (patch)
tree998a6f700c1088ae1f5c137bdd89765ab2f37b04 /src/c_parse.go
parentok (diff)
downloadhardflip-80f8e7ecc663ca85e7dab7d4e60c8c6113bc4e9d.tar.gz
hardflip-80f8e7ecc663ca85e7dab7d4e60c8c6113bc4e9d.tar.bz2
hardflip-80f8e7ecc663ca85e7dab7d4e60c8c6113bc4e9d.tar.xz
hardflip-80f8e7ecc663ca85e7dab7d4e60c8c6113bc4e9d.tar.zst
hardflip-80f8e7ecc663ca85e7dab7d4e60c8c6113bc4e9d.zip
stackin
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 {