#include "netdissect.h"
#include "extract.h"
-static const char tstr[] = " [|telnet]";
#define TELCMDS
#define TELOPTS
return sp - osp;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
pktend:
return -1;
#undef FETCH
const u_char *osp;
int l;
+ ndo->ndo_protocol = "telnet";
osp = sp;
ND_TCHECK_1(sp);
}
return;
trunc:
- ND_PRINT("%s", tstr);
+ nd_print_trunc(ndo);
}