Project

General

Profile

Actions

Feature #527

closed

generate_packets.py: always pass packet names separately from Locations

Added by Alina Lenk 18 days ago. Updated 15 days 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 17 days 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 15 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF