Spelling fixes for session.go

This commit is contained in:
Tristan B. Kildaire 2019-01-09 11:07:56 +02:00 committed by GitHub
parent 9a3d01456f
commit cfffe41ec4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {