mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 13:20:12 +00:00
python: hide inet_ntoa from frrbot
These are not the inet_ntoa you are looking for ;) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
638fc6d6e0
commit
6c7bc49428
@ -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,
|
||||
),
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user