mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
Spelling fixes for session.go
This commit is contained in:
parent
9a3d01456f
commit
cfffe41ec4
1 changed files with 4 additions and 4 deletions
|
@ -262,7 +262,7 @@ func (ss *sessions) getByTheirSubnet(snet *address.Subnet) (*sessionInfo, bool)
|
|||
}
|
||||
|
||||
// Creates a new session and lazily cleans up old/timed out existing sessions.
|
||||
// This includse initializing session info to sane defaults (e.g. lowest supported MTU).
|
||||
// This includes initializing session info to sane defaults (e.g. lowest supported MTU).
|
||||
func (ss *sessions) createSession(theirPermKey *crypto.BoxPubKey) *sessionInfo {
|
||||
if ss.sessionFirewallEnabled {
|
||||
if !ss.isSessionAllowed(theirPermKey, true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue