Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix#4556- Fix enum mismatch by changing keys to bytes in dict #4609

Merged
merged 1 commit into from
Dec 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions scapy/layers/ntp.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,25 +143,25 @@ def i2m(self, pkt, val):

# RFC 5905 / Section 7.3
_reference_identifiers = {
"GOES": "Geosynchronous Orbit Environment Satellite",
"GPS ": "Global Position System",
"GAL ": "Galileo Positioning System",
"PPS ": "Generic pulse-per-second",
"IRIG": "Inter-Range Instrumentation Group",
"WWVB": "LF Radio WWVB Ft. Collins, CO 60 kHz",
"DCF ": "LF Radio DCF77 Mainflingen, DE 77.5 kHz",
"HBG ": "LF Radio HBG Prangins, HB 75 kHz",
"MSF ": "LF Radio MSF Anthorn, UK 60 kHz",
"JJY ": "LF Radio JJY Fukushima, JP 40 kHz, Saga, JP 60 kHz",
"LORC": "MF Radio LORAN C station, 100 kHz",
"TDF ": "MF Radio Allouis, FR 162 kHz",
"CHU ": "HF Radio CHU Ottawa, Ontario",
"WWV ": "HF Radio WWV Ft. Collins, CO",
"WWVH": "HF Radio WWVH Kauai, HI",
"NIST": "NIST telephone modem",
"ACTS": "NIST telephone modem",
"USNO": "USNO telephone modem",
"PTB ": "European telephone modem",
b"GOES": "Geosynchronous Orbit Environment Satellite",
b"GPS ": "Global Position System",
b"GAL ": "Galileo Positioning System",
b"PPS ": "Generic pulse-per-second",
b"IRIG": "Inter-Range Instrumentation Group",
b"WWVB": "LF Radio WWVB Ft. Collins, CO 60 kHz",
b"DCF ": "LF Radio DCF77 Mainflingen, DE 77.5 kHz",
b"HBG ": "LF Radio HBG Prangins, HB 75 kHz",
b"MSF ": "LF Radio MSF Anthorn, UK 60 kHz",
b"JJY ": "LF Radio JJY Fukushima, JP 40 kHz, Saga, JP 60 kHz",
b"LORC": "MF Radio LORAN C station, 100 kHz",
b"TDF ": "MF Radio Allouis, FR 162 kHz",
b"CHU ": "HF Radio CHU Ottawa, Ontario",
b"WWV ": "HF Radio WWV Ft. Collins, CO",
b"WWVH": "HF Radio WWVH Kauai, HI",
b"NIST": "NIST telephone modem",
b"ACTS": "NIST telephone modem",
b"USNO": "USNO telephone modem",
b"PTB ": "European telephone modem",
}


Expand Down
Loading