classify: fix parsing for l4 match
[vpp.git] / src / vnet / classify / vnet_classify.c
index d36d93b..ab933eb 100644 (file)
@@ -2314,7 +2314,7 @@ unformat_l4_match (unformat_input_t * input, va_list * args)
       else if (unformat (input, "dst_port %d", &dst_port))
        ;
       else
-       return 0;
+       break;
     }
 
   h.src_port = clib_host_to_net_u16 (src_port);