Skip to content

Commit

Permalink
err handling
Browse files Browse the repository at this point in the history
  • Loading branch information
0x90-n committed Nov 11, 2024
1 parent db1ebfd commit 0d09b51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/regserver/regprocessor/regprocessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ func overridePrefix(newRegResp *pb.RegistrationResponse, prefixId prefix.PrefixI
newRegResp.DstPort = proto.Uint32(dstPort)
// Override Prefix choice and PrefixParam
newPrefix, err := prefix.TryFromID(prefixId)
if err != nil {
return err
}
var fp = newPrefix.FlushPolicy()
var i int32 = int32(newPrefix.ID())
newparams := &pb.PrefixTransportParams{}
Expand Down

0 comments on commit 0d09b51

Please sign in to comment.