]> The Tcpdump Group git mirrors - tcpdump/commitdiff
print-sflow.c: print agent_id instead of samples
authorRuben Kerkhof <[email protected]>
Mon, 18 Mar 2013 18:10:35 +0000 (19:10 +0100)
committerRuben Kerkhof <[email protected]>
Mon, 18 Mar 2013 18:10:35 +0000 (19:10 +0100)
print-sflow.c

index 79a3fdf1d9c7ea4297390a6f37e975e06fb60b8c..1a23d49ed29ee42da613e096d15fd2ca5cb0ce47 100644 (file)
@@ -840,7 +840,7 @@ sflow_print(const u_char *pptr, u_int len) {
                EXTRACT_32BITS(sflow_datagram->version),
                EXTRACT_32BITS(sflow_datagram->ip_version) == 1 ? "IPv4" : "IPv6",
               ipaddr_string(sflow_datagram->agent),
-               EXTRACT_32BITS(sflow_datagram->samples),
+               EXTRACT_32BITS(sflow_datagram->agent_id),
                len);
         return;
     }