s/bool/bit<1>/

Fixing

Invalid entry type 'expression' in field list
bad json:
{
   "type" : "expression",
   "value" : {
      "type" : "expression",
      "value" : {
         "left" : null,
         "op" : "d2b",
         "right" : {
            "type" : "field",
            "value" : [ "scalars", "metadata.chk_icmp6" ]
         }
      }
   }
}
This commit is contained in:
Nico Schottelius 2019-03-30 17:02:18 +01:00
commit ec40bc2c54
3 changed files with 6 additions and 6 deletions

View file

@ -182,8 +182,8 @@ struct metadata {
/* migrate tasks to bool */
bit<1> chk_icmp6_na_ns;
bool chk_icmp6;
bool chk_icmp;
bit<1> chk_icmp6;
bit<1> chk_icmp;
bit<16> tcp_length;
bit<32> cast_length;