Skip to content

Commit

Permalink
Merge pull request #9 from oliveiraleo/fix-typos
Browse files Browse the repository at this point in the history
fix: Typos and improve some informational messages
  • Loading branch information
ianchen0119 authored Sep 4, 2024
2 parents c2662c7 + cf96d1c commit 72025a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/ike/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ func HandleIKEAUTH(
ikeSecurityAssociation.PseudorandomFunction.TransformID)
if !ok {
ikeLog.Error(
"Get an unsupported pseudorandom funcion. This may imply an unsupported transform is chosen.",
"Got an unsupported pseudorandom function. This may imply that an unsupported transform was chosen.",
)
return
}
Expand Down Expand Up @@ -476,7 +476,7 @@ func HandleIKEAUTH(
)
if !ok {
ikeLog.Error(
"Get an unsupported pseudorandom funcion. This may imply an unsupported transform is chosen.",
"Got an unsupported pseudorandom function. This may imply that an unsupported transform was chosen.",
)
return
}
Expand All @@ -491,7 +491,7 @@ func HandleIKEAUTH(
)
if !ok {
ikeLog.Error(
"Get an unsupported pseudorandom funcion. This may imply an unsupported transform is chosen.",
"Got an unsupported pseudorandom function. This may imply that an unsupported transform was chosen.",
)
return
}
Expand Down Expand Up @@ -634,7 +634,7 @@ func HandleCREATECHILDSA(

encryptedPayload, ok := message.Payloads[0].(*ike_message.Encrypted)
if !ok {
ikeLog.Error("Received pakcet is not and encrypted payload")
ikeLog.Error("Received packet is not an encrypted payload")
return
}
decryptedIKEPayload, err := DecryptProcedure(ikeSecurityAssociation, message, encryptedPayload)
Expand Down Expand Up @@ -839,6 +839,6 @@ func HandleInformational(
ikeLog.Tracef("Receive DPD message")
SendN3IWFInformationExchange(n3ueSelf, nil, ike_message.ResponseBitCheck)
} else {
ikeLog.Warnf("Unimplemented infromational message")
ikeLog.Warnf("Unimplemented informational message")
}
}

0 comments on commit 72025a1

Please sign in to comment.