Jan Engelhardt
d6b00a5345
netfilter: xtables: change targets to return error code
Part of the transition of done by this semantic patch:
// <smpl>
@ rule1 @
struct xt_target ops;
identifier check;
@@
ops.checkentry = check;
@@
identifier rule1.check;
@@
check(...) { <...
-return true;
+return 0;
...> }
@@
identifier rule1.check;
@@
check(...) { <...
-return false;
+return -EINVAL;
...> }
// </smpl>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
2010-03-25 16:55:49 +01:00
..
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:24 +01:00
2010-03-25 16:55:49 +01:00
2010-03-25 16:55:24 +01:00
2010-01-18 08:25:47 +01:00
2010-01-18 08:25:47 +01:00
2010-01-18 08:25:47 +01:00
2010-03-25 15:02:19 +01:00
2008-10-14 11:57:33 -07:00
2008-06-17 16:16:13 -07:00