diff options
Diffstat (limited to 'print-pppoe.c')
-rw-r--r-- | print-pppoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-pppoe.c b/print-pppoe.c index 39d41700..f1fedc75 100644 --- a/print-pppoe.c +++ b/print-pppoe.c @@ -157,7 +157,7 @@ pppoe_print(netdissect_options *ndo, register const u_char *bp, u_int length) ND_TCHECK2(*p, tag_len); for (v = p; v < p + tag_len && tag_str_len < MAXTAGPRINT-1; v++) if (*v >= 32 && *v < 127) { - tag_str[tag_str_len++] = *v; + tag_str[tag_str_len++] = EXTRACT_U_1(v); ascii_count++; } else { tag_str[tag_str_len++] = '.'; |