Include the right DEparser

This commit is contained in:
Nico Schottelius 2019-07-23 15:02:27 +02:00
parent d68be5010d
commit f44386b6b8
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
/* -*- P4_16 -*- */ /* -*- P4_16 -*- */
#ifndef DEPARSERS_P4 #ifndef DEPARSERS_P4
#define DEPARSERS_P4 #define DEPARSERS_P4
apply { apply {
/* always */ /* always */
packet.emit(hdr.ethernet); packet.emit(hdr.ethernet);

View File

@ -148,7 +148,7 @@ control TopDeparser(packet_out packet,
// packet.emit(hdr.ethernet); // packet.emit(hdr.ethernet);
// } // }
#include "parsers.p4" #include "deparser.p4"
} }