21 Sep
2026
21 Sep
'26
9:57 p.m.
On Fri, 18 Sep 2026 13:49:46 -0400
Jon Maloy
Extract address and route configuration into two new helper functions pasta_conf_addrs() and pasta_conf_routes(), and replace the outer if (c->pasta_conf_ns) block with an early return. This reduces indentation and eliminates the goto labels.
No functional change.
Signed-off-by: Jon Maloy
Reviewed-by: David Gibson
Uh-oh, wait a moment. The clang-tidy test reminded me that I already reviewed this two months ago: https://archives.passt.top/passt-dev/20260715091124.410d2ed6@elisabeth/ This v10 seems to be the same (minus rebase) as the v10 I already commented on. -- Stefano