Project

General

Profile

Actions

Feature #527

closed

generate_packets.py: always pass packet names separately from Locations

Added by Alina Lenk 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Bootstrap
Target version:
Start date:
05/02/2024
Due date:
% Done:

0%

Estimated time:

Description

Currently, referring to fields in the right packet struct is done inconsistently; sometimes the field type methods prepend hard-coded "real_packet->" and "old->", sometimes it's passed in as part of the Location, and sometimes (in the one case where it's necessary) the packet names are passed in separately and correctly assembled inside the function. Make all field type methods work the latter way.


Files

Actions #1

Updated by Alina Lenk 8 months ago

This also happens to fix a long-slumbering bug (bitvector put reading from packet instead of real_packet) that would've become an issue if we'd ever modified a bit vector inside a pre-send hook.

Actions #2

Updated by Alina Lenk 8 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF