diff --git a/sos/cleaner/parsers/mac_parser.py b/sos/cleaner/parsers/mac_parser.py index 07704bae4c..35882eb79f 100644 --- a/sos/cleaner/parsers/mac_parser.py +++ b/sos/cleaner/parsers/mac_parser.py @@ -20,9 +20,12 @@ r'[0-9a-fA-F]{2}(\'|\")?(\/|\,|\-|\.|\s|$))' ) # aabb:ccee:ddee:ffaa +# - but disallow "substrings" +# - but allow fe80: or fe80:: prefix for link-local IPV6_REG_4HEX = ( - r'((?