Skip to content

Commit

Permalink
Pointers into packet data should usually be pointers to unsigned 1-byte
Browse files Browse the repository at this point in the history
values.
  • Loading branch information
yuguy committed Jul 27, 2005
1 parent 423ef5b commit 4fe64c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions print-fr.c
Expand Up @@ -21,7 +21,7 @@

#ifndef lint
static const char rcsid[] _U_ =
"@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.42 2005-07-26 13:18:07 hannes Exp $ (LBL)";
"@(#)$Header: /tcpdump/master/tcpdump/print-fr.c,v 1.43 2005-07-27 00:25:58 guy Exp $ (LBL)";
#endif

#ifdef HAVE_CONFIG_H
Expand Down Expand Up @@ -360,7 +360,7 @@ mfr_print(register const u_char *p, u_int length)
u_int tlen,idx,hdr_len = 0;
u_int16_t sequence_num;
u_int8_t ie_type,ie_len;
const char *tptr;
const u_int8_t *tptr;


/*
Expand Down

0 comments on commit 4fe64c9

Please sign in to comment.