#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.133.2.20 2005-10-16 08:18:18 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.133.2.21 2005-11-12 22:23:23 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
if (!TTEST2(*tptr, byte_length))
return (0);
-#ifdef INET6
- memset(prefix, 0, sizeof(struct in6_addr)); /* clear the copy buffer */
-#else
- memset(prefix, 0, sizeof(struct in_addr)); /* clear the copy buffer */
-#endif
+ memset(prefix, 0, sizeof prefix); /* clear the copy buffer */
memcpy(prefix,tptr,byte_length); /* copy as much as is stored in the TLV */
tptr+=byte_length;
processed+=byte_length;