diff options
Diffstat (limited to 'epan/dissectors/packet-ntp.c')
-rw-r--r-- | epan/dissectors/packet-ntp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ntp.c b/epan/dissectors/packet-ntp.c index 63a2bd5431..1e26e63444 100644 --- a/epan/dissectors/packet-ntp.c +++ b/epan/dissectors/packet-ntp.c @@ -70,7 +70,7 @@ void proto_reg_handoff_ntp(void); * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * | Key Identifier (optional) (32) | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - * | Message Digest (optional) (128) | + * | Message Digest (optional) (128/160) | * | | * | | * | | @@ -461,9 +461,9 @@ static const value_string priv_rc_types[] = { static value_string_ext priv_rc_types_ext = VALUE_STRING_EXT_INIT(priv_rc_types); /* - * Maximum MAC length. + * Maximum MAC length : 160 bits MAC + 32 bits Key ID */ -#define MAX_MAC_LEN (5 * sizeof (guint32)) +#define MAX_MAC_LEN (6 * sizeof (guint32)) static int proto_ntp = -1; |