Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ca3266b

Browse files
committedApr 13, 2025·
xxx
1 parent eb82e3c commit ca3266b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

Diff for: ‎uefi-test-runner/src/proto/network/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ pub fn test() {
44
info!("Testing Network protocols");
55

66
// Test idempotence of network stuff
7-
for _ in 0..2 {
7+
for _ in 0..1 {
88
#[cfg(feature = "pxe")]
9-
//pxe::test();
9+
pxe::test();
1010
snp::test();
1111
}
1212
}
@@ -58,7 +58,7 @@ mod wire_helper {
5858
packet.set_header_len(IPV4_HEADER_LEN as u8);
5959
packet.set_dscp(0 /* QOS */);
6060
packet.set_total_len((IPV4_HEADER_LEN + payload.len()) as u16);
61-
packet.set_ident(42);
61+
packet.set_ident(1);
6262
packet.set_dont_frag(true);
6363
packet.set_frag_offset(0);
6464
packet.set_hop_limit(42 /*TTL */);

Diff for: ‎uefi-test-runner/src/proto/network/snp.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ pub fn test() {
9494
// Arbitrary high-level payload.
9595
let payload: [u8; 2] = 0x1337_u16.to_ne_bytes();
9696
// IPv4 can be arbitrary, not used for routing here.
97-
let srd_addr_ipv4 = Ipv4Addr::new(192, 168, 17, 2);
98-
let dst_addr_ipv4 = Ipv4Addr::new(192, 168, 17, 3);
97+
let srd_addr_ipv4 = Ipv4Addr::new(192, 168, 17, 15);
98+
let dst_addr_ipv4 = Ipv4Addr::new(192, 168, 17, 2);
9999
let frame = create_udp_ipv4_ethernet_packet(
100100
srd_addr_ipv4.into(),
101101
dst_addr_ipv4.into(),

0 commit comments

Comments
 (0)
Please sign in to comment.