Looks like there was a mistake made in
d8acd8f that broke the build
on systems where print-pflog.c is compiled. This fixes the build.
/* check length */
if (caplen < sizeof(u_int8_t)) {
- printf("%s", pflog);
+ printf("%s", tstr);
return (caplen);
}
hdrlen = BPF_WORDALIGN(hdr->length);
if (caplen < hdrlen) {
- printf("%s", pflog);
+ printf("%s", tstr);
return (hdrlen); /* XXX: true? */
}
return (hdrlen);
trunc:
- printf("%s", pflog);
+ printf("%s", tstr);
return (hdrlen);
}