From 197733b9f4ee2bf6ef3fe37190b87a6f88d02aa2 Mon Sep 17 00:00:00 2001 From: edgar-costa Date: Fri, 10 Dec 2021 11:29:52 +0000 Subject: [PATCH] fix ipv4 header --- exercises/12-Fast-Reroute/p4src/include/headers.p4 | 2 +- exercises/12-Fast-Reroute/solution/p4src/include/headers.p4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/12-Fast-Reroute/p4src/include/headers.p4 b/exercises/12-Fast-Reroute/p4src/include/headers.p4 index 628a56c..5aecbca 100644 --- a/exercises/12-Fast-Reroute/p4src/include/headers.p4 +++ b/exercises/12-Fast-Reroute/p4src/include/headers.p4 @@ -16,8 +16,8 @@ header ethernet_t { header ipv4_t { bit<4> version; bit<4> ihl; - bit<2> ecn; bit<6> dscp; + bit<2> ecn; bit<16> totalLen; bit<16> identification; bit<3> flags; diff --git a/exercises/12-Fast-Reroute/solution/p4src/include/headers.p4 b/exercises/12-Fast-Reroute/solution/p4src/include/headers.p4 index 628a56c..5aecbca 100644 --- a/exercises/12-Fast-Reroute/solution/p4src/include/headers.p4 +++ b/exercises/12-Fast-Reroute/solution/p4src/include/headers.p4 @@ -16,8 +16,8 @@ header ethernet_t { header ipv4_t { bit<4> version; bit<4> ihl; - bit<2> ecn; bit<6> dscp; + bit<2> ecn; bit<16> totalLen; bit<16> identification; bit<3> flags;