failed to receive on_msg_delivered due to invalid interpretation of message flags.

Change-Id: I3b95155594b7a2a5ad7f0f370e7bbf726f744f31
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>