frr/tools/coccinelle/route_map_apply.cocci
Daniel Baumann 3124f89aed
Adding upstream version 10.1.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 10:03:58 +01:00

15 lines
237 B
Text

@rmap@
identifier ret;
position p;
@@
int ret@p;
...
* ret = route_map_apply(...);
@script:python@
p << rmap.p;
@@
msg = "ERROR: Invalid type of return value variable for route_map_apply_ext()"
coccilib.report.print_report(p[0], msg)