From fe61fa61a7f1bc795c41aaadb61b2c2107d862a3 Mon Sep 17 00:00:00 2001 From: Nate Foster Date: Thu, 21 Sep 2017 00:21:37 -0400 Subject: [PATCH] Fix typo in calculator solution (#45) --- P4D2_2017/exercises/calc/solution/calc.p4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P4D2_2017/exercises/calc/solution/calc.p4 b/P4D2_2017/exercises/calc/solution/calc.p4 index a1984be..9115d7a 100644 --- a/P4D2_2017/exercises/calc/solution/calc.p4 +++ b/P4D2_2017/exercises/calc/solution/calc.p4 @@ -64,7 +64,7 @@ const bit<8> P4CALC_VER = 0x01; // v0.1 const bit<8> P4CALC_PLUS = 0x2b; // '+' const bit<8> P4CALC_MINUS = 0x2d; // '-' const bit<8> P4CALC_AND = 0x26; // '&' -const bit<8> P4CALC_OR = 0x7e; // '|' +const bit<8> P4CALC_OR = 0x7c; // '|' const bit<8> P4CALC_CARET = 0x5e; // '^' header p4calc_t {