Skip to content

Commit

Permalink
Merge pull request #625 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
PR - sctp multihoming primary addr change fix
  • Loading branch information
UltraInstinct14 authored Apr 7, 2024
2 parents f17f026 + 7accf91 commit 6c98883
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion loxilb-ebpf
2 changes: 2 additions & 0 deletions pkg/loxinet/dpebpf_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,8 @@ func (ct *DpCtInfo) convDPCt2GoObjFixup(ctKey *C.struct_dp_ct_key, ctDat *C.stru
ct.Proto = "sctp"
s := (*C.ct_sctp_pinf_t)(unsafe.Pointer(&ctDat.pi))
switch {
case s.state == C.CT_SCTP_PRE_EST:
ct.CState = "pre-est"
case s.state == C.CT_SCTP_EST:
ct.CState = "est"
case s.state == C.CT_SCTP_CLOSED:
Expand Down

0 comments on commit 6c98883

Please sign in to comment.