mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 09:52:27 +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,
|
lambda s: True,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
re.compile(r"((?<![\?:] )inet_ntoa)"),
|
# string split-up here is to not trigger "inet_ntoa forbidden"
|
||||||
"cleanup: replace inet_ntoa(...) with %pI4",
|
re.compile(r"((?<![\?:] )inet_" + r"ntoa)"),
|
||||||
|
"cleanup: replace inet_" + "ntoa(...) with %pI4",
|
||||||
lambda s: True,
|
lambda s: True,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user