diff options
Diffstat (limited to 'print-aoe.c')
-rw-r--r-- | print-aoe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/print-aoe.c b/print-aoe.c index cd088671..5acab319 100644 --- a/print-aoe.c +++ b/print-aoe.c @@ -328,6 +328,7 @@ aoev1_reserve_print(netdissect_options *ndo, goto invalid; /* addresses */ for (i = 0; i < nmacs; i++) { + ND_TCHECK_LEN(cp, MAC_ADDR_LEN); ND_PRINT("\n\tEthernet Address %u: %s", i, etheraddr_string(ndo, cp)); cp += MAC_ADDR_LEN; } |