Skip to content

Commit

Permalink
Merge pull request #40 from trustywolf/fix-OT_EP_IPv6
Browse files Browse the repository at this point in the history
Fix OT_EP_IPv6
  • Loading branch information
watal authored Feb 6, 2023
2 parents 2b79012 + 50ba042 commit 4dbbf8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/packet/pcep/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -828,11 +828,11 @@ func (o *SrEroSubobject) ToSegment() table.Segment {
// END-POINTS Object (RFC5440 7.6)
const (
OT_EP_IPV4 uint8 = 1
OT_EP_IPV6 uint8 = 1
OT_EP_IPV6 uint8 = 2
)

type EndpointsObject struct {
ObjectType uint8 // IPv4: 1, IPv6: 2
ObjectType uint8
SrcAddr netip.Addr
DstAddr netip.Addr
}
Expand Down

0 comments on commit 4dbbf8a

Please # to comment.