diff --git a/gtests/net/packetdrill/parser.y b/gtests/net/packetdrill/parser.y index 631aabcb10ddd3ef2115ca832d7ddef65a0116f3..7799260aaf7490f53a17d1b1746e016c33446474 100644 --- a/gtests/net/packetdrill/parser.y +++ b/gtests/net/packetdrill/parser.y @@ -1451,7 +1451,7 @@ dup sctp_generic_spec : '[' byte_list ']' { - if (($2 == NULL)) { + if ($2 == NULL) { semantic_error("byte field can not be empty"); }