Ticket #45165

generate_packets.py: make packet directions an enum

Eröffnet am: 2022-07-20 21:46 Letztes Update: 2022-07-22 20:35

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

Part of #43927. There are exactly three legal values for the Packet.dirs field; server-to-client (down) only, client-to-server (up) only, and unrestricted ~> make it an enum with three constants. If we make it appropriately (frozen)set-valued, we also get conversion from a set of "sc" and "cs" packet flags for free.

Ticket-Verlauf (3/4 Historien)

2022-07-20 21:46 Aktualisiert von: alienvalkyrie
  • New Ticket "generate_packets.py: make packet directions an enum" created
2022-07-21 00:08 Aktualisiert von: alienvalkyrie
  • Lösung Update from Keine to Accepted
2022-07-22 20:35 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden