From 22538a93c9c5b618816ee72f20d5ce07f4a92483 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 23 Mar 2019 14:20:11 +0100 Subject: [PATCH] Update deparser type, add emitting of option field --- p4src/parsers.p4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/p4src/parsers.p4 b/p4src/parsers.p4 index aa330d5..121b981 100644 --- a/p4src/parsers.p4 +++ b/p4src/parsers.p4 @@ -110,7 +110,8 @@ control MyDeparser(packet_out packet, in headers hdr) { /* might be more than one subtype */ packet.emit(hdr.icmp6); - packet.emit(hdr.icmp6_na); + packet.emit(hdr.icmp6_na_ns); + packet.emit(hdr.icmp6_option_link_layer_addr); } }