From 9e07a69bbb2a7d3eb35f9b487161c50cfa5bd65e Mon Sep 17 00:00:00 2001 From: Eelco Chaudron Date: Wed, 22 Jan 2025 11:47:55 +0100 Subject: [PATCH] ofproto-macros.at: Fix hex matching in the strip_recird() macro. This patch includes 'a-f' matching in the sed command. Fixes: 7b3a4c2e866e ("Revert "odp-util: Always report ODP_FIT_TOO_LITTLE for IGMP."") Acked-by: Simon Horman Signed-off-by: Eelco Chaudron --- tests/ofproto-macros.at | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index c27d96177b6..a3d941a3202 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -171,9 +171,9 @@ strip_eth () { # 'recirc=' respectively. This should make output easier to # compare. strip_recirc() { - sed 's/recirc_id([[x0-9]]*)/recirc_id()/ - s/recirc_id=[[x0-9]]*/recirc_id=/ - s/recirc([[x0-9]]*)/recirc()/' + sed 's/recirc_id([[x0-9a-f]]*)/recirc_id()/ + s/recirc_id=[[x0-9a-f]]*/recirc_id=/ + s/recirc([[x0-9a-f]]*)/recirc()/' } # Strips dp_hash from output.