diff options
author | guy <guy> | 2002-08-02 04:04:37 +0000 |
---|---|---|
committer | guy <guy> | 2002-08-02 04:04:37 +0000 |
commit | c649b2cfa25b67309213c56459e1324c5f87b1b5 (patch) | |
tree | e65e1635da226fe481e47f2d464feefced27c1eb /print-bgp.c | |
parent | d53708007fc6bfae87c1e4a0be77ee878dbcd2d4 (diff) | |
download | tcpdump-c649b2cfa25b67309213c56459e1324c5f87b1b5.tar.gz |
"bgp_vpn_rd_print()" returns a pointer into a buffer of "char"s, so it
should return "char *" (this change squelches some compiler warnings).
Diffstat (limited to 'print-bgp.c')
-rw-r--r-- | print-bgp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-bgp.c b/print-bgp.c index 292155be..7ca120d1 100644 --- a/print-bgp.c +++ b/print-bgp.c @@ -33,7 +33,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.44 2002-08-01 08:53:01 risso Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.45 2002-08-02 04:04:37 guy Exp $"; #endif #include <tcpdump-stdinc.h> @@ -393,7 +393,7 @@ decode_labeled_prefix4(const u_char *pptr, char *buf, u_int buflen) } -static u_char * +static char * bgp_vpn_rd_print (const u_char *pptr) { /* allocate space for the following string |