summaryrefslogtreecommitdiff
path: root/python/xrelfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/xrelfo.py')
-rw-r--r--python/xrelfo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/xrelfo.py b/python/xrelfo.py
index 966ccdee9e..c75b4cb956 100644
--- a/python/xrelfo.py
+++ b/python/xrelfo.py
@@ -164,8 +164,9 @@ class XrefLogmsg(ELFDissectStruct, XrelfoJson):
lambda s: True,
),
(
- re.compile(r"((?<![\?:] )inet_ntoa)"),
- "cleanup: replace inet_ntoa(...) with %pI4",
+ # string split-up here is to not trigger "inet_ntoa forbidden"
+ re.compile(r"((?<![\?:] )inet_" + r"ntoa)"),
+ "cleanup: replace inet_" + "ntoa(...) with %pI4",
lambda s: True,
),
(