We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abef68c commit 2f0dd20Copy full SHA for 2f0dd20
pythonbpf/functions/return_utils.py
@@ -37,6 +37,7 @@ def _handle_xdp_return(stmt: ast.Return, builder, ret_type) -> bool:
37
raise ValueError(
38
f"Unknown XDP action: {action_name}. Available: {XDP_ACTIONS.keys()}"
39
)
40
+ return False
41
42
value = XDP_ACTIONS[action_name]
43
builder.ret(ir.Constant(ret_type, value))
0 commit comments