Skip to content

Commit 1105f6f

Browse files
committed
src addr headend encaps ctrl
1 parent 465be8d commit 1105f6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/netfunc/headend-encaps-ctrl.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ func (h HeadendEncapsWithCtrl) Handle(packet []byte) ([]byte, error) {
4040
if err != nil {
4141
return nil, err
4242
}
43-
src := net.ParseIP("::") // FIXME: REQUIRED!!! use the right address
44-
nextHop := action.NextHop.AsSlice() // FIXME: allow multiple segments
43+
src := net.ParseIP("fc00:3:1:0A03:0001:0868::30") // FIXME: dont hardcode
44+
nextHop := action.NextHop.AsSlice() // FIXME: allow multiple segments
4545
ipheader := &layers.IPv6{
4646
SrcIP: src,
4747
// S06. Set the IPv6 DA = B

0 commit comments

Comments
 (0)