summaryrefslogtreecommitdiff
path: root/devtools/ais.py
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/ais.py')
-rwxr-xr-xdevtools/ais.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/ais.py b/devtools/ais.py
index a2ea58ac..f9f5706d 100755
--- a/devtools/ais.py
+++ b/devtools/ais.py
@@ -864,7 +864,7 @@ type27 = (
aivdm_decode = (
bitfield('msgtype', 6, 'unsigned', 0, "Message Type",
- validator=lambda n: n > 0 and n <= 26),
+ validator=lambda n: n > 0 and n <= 27),
bitfield('repeat', 2, 'unsigned', None, "Repeat Indicator"),
bitfield('mmsi', 30, 'unsigned', 0, "MMSI"),
# This is the master dispatch on AIS message type