- if (l2info->cookie_len > 0) {
- ND_TCHECK_LEN(p, l2info->cookie_len);
- if (ndo->ndo_eflag)
- ND_PRINT(", cookie 0x");
- for (idx = 0; idx < l2info->cookie_len; idx++) {
- l2info->cookie[idx] = GET_U_1(p + idx); /* copy cookie data */
- if (ndo->ndo_eflag) ND_PRINT("%02x", GET_U_1(p + idx));
- }
+ if (l2info->cookie_len > 0) {
+ ND_TCHECK_LEN(p, l2info->cookie_len);
+ if (ndo->ndo_eflag)
+ ND_PRINT(", cookie 0x");
+ for (idx = 0; idx < l2info->cookie_len; idx++) {
+ l2info->cookie[idx] = GET_U_1(p + idx); /* copy cookie data */
+ if (ndo->ndo_eflag) ND_PRINT("%02x", GET_U_1(p + idx));