if (tag == TAG_PARM_REQUEST) {
idx = 0;
- while (len > 0) {
+ while (len != 0) {
uint8_t innertag = GET_U_1(bp);
bp++;
len--;
case 'B':
/* boolean */
- while (len > 0) {
+ while (len != 0) {
uint8_t bool_value;
if (!first)
ND_PRINT(",");
case 'x':
default:
/* Bytes */
- while (len > 0) {
+ while (len != 0) {
uint8_t byte_value;
if (!first)
ND_PRINT(c == 'x' ? ":" : ".");
break;
} else {
ND_PRINT("%s ", tok2str(arp2str, "hardware-type %u,", type));
- while (len > 0) {
+ while (len != 0) {
if (!first)
ND_PRINT(":");
ND_PRINT("%02x", GET_U_1(bp));
len = 0;
break;
}
- while (len > 0) {
+ while (len != 0) {
if (!first)
ND_PRINT(",");
mask_width = GET_U_1(bp);
len = 0;
break;
}
- while (len > 0) {
+ while (len != 0) {
suboptlen = GET_U_1(bp);
bp++;
len--;