summaryrefslogtreecommitdiffstats
path: root/src/rt.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-04-13 16:52:28 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-04-14 13:53:02 +0200
commitebc3f6636bd5a3c54350d9ed06c1785cb6cc37be (patch)
tree3a1e06a00ee077278f2000f9b62f7e53e86c8520 /src/rt.c
parent23a6c8ccdd293a2c3448e5e197cd0384bef767cb (diff)
Review raw payload allocation points
In parser_bison.y, call payload_init_raw() instead of assigning all fields manually. Also drop manual initialization of flags field: it is not touched in allocation path, so no need for that. In stmt_evaluate_payload(), setting dtype field is redundant since payload_init_raw() does that already. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rt.c')
0 files changed, 0 insertions, 0 deletions