diff --git a/p4src/deparser.p4 b/p4src/deparser.p4 index 397e52f..8b3fc1d 100644 --- a/p4src/deparser.p4 +++ b/p4src/deparser.p4 @@ -1,7 +1,6 @@ /* -*- P4_16 -*- */ #ifndef DEPARSERS_P4 #define DEPARSERS_P4 - apply { /* always */ packet.emit(hdr.ethernet); diff --git a/p4src/minip4_solution.p4 b/p4src/minip4_solution.p4 index f2a2168..91ce02e 100644 --- a/p4src/minip4_solution.p4 +++ b/p4src/minip4_solution.p4 @@ -148,7 +148,7 @@ control TopDeparser(packet_out packet, // packet.emit(hdr.ethernet); // } - #include "parsers.p4" + #include "deparser.p4" }