token-validator: better calculate IP contained
This commit is contained in:
parent
6fcdc44952
commit
d28b14fa50
3 changed files with 11 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ func getTunnelInfo(student int64) TunnelInfo {
|
|||
SrvPubKey: srv_pubkey,
|
||||
SrvPort: 42912,
|
||||
CltIPv6: adlin.StudentIP(student),
|
||||
CltRange: 80,
|
||||
CltRange: adlin.StdNetmask,
|
||||
SrvGW6: "2a01:e0a:2b:2252::1",
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue