Skip to content

Commit 03154d4

Browse files
committed
Fix dataplane unit tests
1 parent 401469b commit 03154d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

router/dataplane_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ func TestDataPlaneRun(t *testing.T) {
379379
// However, prepBaseMsg does pretend that there's a SCIONUDP Header.
380380
// Remove that. Since the removal of the dispatcher, the router snoops
381381
// into L4 and would mistake our payload for a broken SCION/UDP header.
382-
spkt.NextHdr = slayers.L4None
382+
spkt.NextHdr = 253 // use for experimentation and testing
383383

384384
err := gopacket.SerializeLayers(buffer,
385385
gopacket.SerializeOptions{FixLengths: true},

0 commit comments

Comments
 (0)