*/
void
tftp_print(netdissect_options *ndo,
- register const u_char *bp, u_int length)
+ const u_char *bp, u_int length)
{
- register const char *cp;
- register int opcode;
+ const char *cp;
+ int opcode;
u_int ui;
/* Print length */
/* Print options, if any */
while (length != 0) {
ND_TCHECK_1(bp);
- if (*bp != '\0')
+ if (EXTRACT_U_1(bp) != '\0')
ND_PRINT((ndo, " "));
ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend);
if (ui == 0)
/* Print options */
while (length != 0) {
ND_TCHECK_1(bp);
- if (*bp != '\0')
+ if (EXTRACT_U_1(bp) != '\0')
ND_PRINT((ndo, " "));
ui = fn_printztn(ndo, bp, length, ndo->ndo_snapend);
if (ui == 0)