Skip to content

Commit

Permalink
chore: add string type
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcat-118 committed Oct 25, 2024
1 parent 5fe710a commit ec1ce0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ngap/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func listenAndServe(localAddr, remoteAddr *sctp.SCTPAddr, errChan chan<- error)
n, sctp_info, _, sctpread_err := conn.SCTPRead(data)

if sctpread_err != nil {
ngapLog.Debugf("[SCTP] AMF SCTP address: %s", remoteAddr)
ngapLog.Debugf("[SCTP] AMF SCTP address: %s", remoteAddr.String())
if sctpread_err == io.EOF || sctpread_err == io.ErrUnexpectedEOF {
ngapLog.Warn("[SCTP] Close connection.")
errConn := conn.Close()
Expand Down

0 comments on commit ec1ce0e

Please sign in to comment.