Skip to content

Commit

Permalink
Recovery timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Sep 4, 2024
1 parent 61fa356 commit 8f2fb3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pfcp/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"fmt"
"net"
"sync"
"time"

"github.com/nextmn/go-pfcp-networking/pfcp/api"
"github.com/nextmn/go-pfcp-networking/pfcputil"
Expand Down Expand Up @@ -111,7 +112,7 @@ func NewPFCPEntity(nodeID string, listenAddr string, kind string, options api.En
return PFCPEntity{
nodeID: ie.NewNodeIDHeuristic(nodeID),
listenAddr: listenAddr,
recoveryTimeStamp: nil,
recoveryTimeStamp: ie.NewRecoveryTimeStamp(time.Now()),
handlers: newDefaultPFCPEntityHandlers(),
associationsMap: NewAssociationsMap(),
sessionsMap: NewSessionsMap(),
Expand Down

0 comments on commit 8f2fb3d

Please sign in to comment.