Update the output of a test accordingly.
Moreover:
Add a ndo_protocol reassignment after xxx_print() calls.
ND_PRINT("ip-proto-%u %u", nh, len);
return;
}
+
+ /* ndo_protocol reassignment after xxx_print() calls */
+ ndo->ndo_protocol = "ip6";
}
return;
trunc:
- ND_PRINT("[|ip6]");
+ nd_print_trunc(ndo);
}
-IP6 3030:3030:3030:3030:3030:3030:3030:3030 > 3030:3030:3030:3030:3030:3030:3030:3030: HBH [|ip6]
+IP6 3030:3030:3030:3030:3030:3030:3030:3030 > 3030:3030:3030:3030:3030:3030:3030:3030: HBH [|ip6]