aboutsummaryrefslogtreecommitdiff
path: root/comp_auth.go
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2022-06-09 01:15:06 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2022-06-09 01:15:06 +0200
commit03d0a15a9b805625bd8837dbb4eae78af574ce35 (patch)
tree4868cfb093f4c7fcde0b35da7ff2ceae63bdf053 /comp_auth.go
parentca05a63f2d249620272af55885d2799779857ce9 (diff)
downloadhydra-dragonfire-03d0a15a9b805625bd8837dbb4eae78af574ce35.tar.xz
Use serializeVer variable in auth componentv0.2.0
Diffstat (limited to 'comp_auth.go')
-rw-r--r--comp_auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/comp_auth.go b/comp_auth.go
index eeccc66..b1e88dd 100644
--- a/comp_auth.go
+++ b/comp_auth.go
@@ -105,7 +105,7 @@ func (comp *CompAuth) process(pkt *mt.Pkt) {
return
}
- if cmd.SerializeVer != 28 {
+ if cmd.SerializeVer != serializeVer {
comp.fail("unsupported serialize version")
return
}