On Wed, Apr 04, 2001 at 03:54:13PM -0600, Vernon Schryver wrote:
> The BSDI_CONTRIB file that BSDI ships with the contributed source
> says:
>         This software package is maintained by both BSDI and the
>         software contributor.  Please send any bug reports to both
>         [EMAIL PROTECTED] and [EMAIL PROTECTED][EMAIL PROTECTED] as
>         appropriate.

"[EMAIL PROTECTED]" and "[EMAIL PROTECTED]" are, I think, both now
being forwarded to "[EMAIL PROTECTED]".  (I don't know whether
BSDI^H^H^H^HWind River have picked up the latest tcpdump and libpcap
from tcpdump.org for BSD/OS, however.)

> so here goes.
> 
> 
> tcpdump displays DHCP lease times or option T51 (and all other numeric
> 4-byte values) wrong.

The current tcpdump.org code - see our Web site

        http://www.tcpdump.org/

for links to the current version, and information on anonymous CVS -
does

                case 'i':
                case 'l':
                case 'L':
                        /* ip addresses/32-bit words */
                        while (size >= sizeof(ul)) {
                                if (!first)
                                        putchar(',');
                                ul = EXTRACT_32BITS(bp);
                                if (c == 'i') {
                                        ul = htonl(ul);
                                        printf("%s", ipaddr_string(&ul));
                                } else if (c == 'L')
                                        printf("%d", ul);
                                else
                                        printf("%u", ul);
                                bp += sizeof(ul);
                                size -= sizeof(ul);
                                first = 0;
                        }
                        break;

which should, I think, do the job.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to