mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
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 <horms@ovn.org> Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
This commit is contained in:
parent
a3c06c309a
commit
1594c50861
@ -171,9 +171,9 @@ strip_eth () {
|
||||
# 'recirc=<recirc_id>' respectively. This should make output easier to
|
||||
# compare.
|
||||
strip_recirc() {
|
||||
sed 's/recirc_id([[x0-9]]*)/recirc_id(<recirc>)/
|
||||
s/recirc_id=[[x0-9]]*/recirc_id=<recirc>/
|
||||
s/recirc([[x0-9]]*)/recirc(<recirc>)/'
|
||||
sed 's/recirc_id([[x0-9a-f]]*)/recirc_id(<recirc>)/
|
||||
s/recirc_id=[[x0-9a-f]]*/recirc_id=<recirc>/
|
||||
s/recirc([[x0-9a-f]]*)/recirc(<recirc>)/'
|
||||
}
|
||||
|
||||
# Strips dp_hash from output.
|
||||
|
Loading…
x
Reference in New Issue
Block a user