tcpdump mailing list archives
Re: [PATCH] replacement print-sflow.c to include
From: Guy Harris <guy () alum mit edu>
Date: Thu, 14 Apr 2011 11:47:08 -0700
On Apr 14, 2011, at 11:45 AM, Rick Jones wrote:
Cool. BTW, I just found a bug in the print_counters routines - i was manipulating based on the size of the pointer rather than the struct to which it pointed. in 64-bit (where I'm running) the two were the same, but in 32 bit they were not. So, it should be: tptr += sizeof(struct sflow_counter_record_t); tlen -= sizeof(struct sflow_counter_record_t); and a similar change for the flow_counter printing routine.
Yeah, I caught and fixed those, too. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- [PATCH] replacement print-sflow.c to include "non-expanded" counter and flow samples Rick Jones (Apr 13)
- Re: [PATCH] replacement print-sflow.c to include "non-expanded" counter and flow samples Guy Harris (Apr 14)
- Re: [PATCH] replacement print-sflow.c to include Rick Jones (Apr 14)
- Re: [PATCH] replacement print-sflow.c to include Guy Harris (Apr 14)
- [PATCH] pay attention to the enterprise field of the sflow flow and counter record format Rick Jones (Apr 14)
- Re: [PATCH] pay attention to the enterprise field of the sflow flow and counter record format Guy Harris (Apr 15)
- Re: [PATCH] pay attention to the enterprise Rick Jones (Apr 15)
- Re: [PATCH] pay attention to the enterprise Guy Harris (Apr 15)
- Re: [PATCH] replacement print-sflow.c to include Rick Jones (Apr 14)
- Re: [PATCH] replacement print-sflow.c to include "non-expanded" counter and flow samples Guy Harris (Apr 14)