commit | 3f03a630be4ad4c28757cade4b88bcbba23f6ffc | [log] [tgz] |
---|---|---|
author | Chris Gibson <cgibson@google.com> | Tue Jul 19 16:11:33 2016 -0700 |
committer | Chris Gibson <cgibson@google.com> | Tue Jul 19 16:46:59 2016 -0700 |
tree | 6f23f61663699fedb77499be4ba88b14afc9b1a8 | |
parent | f7839e6e4505e0f6637dde9d301823ab21d4dffd [diff] |
platform: log when stats are caught Write a log message when statcatcher receives an ipv6 multicast packet from the ONU. Change-Id: I96d2d0f30ab13c19916b166b49d6fa61bd55cc88
diff --git a/cmds/statcatcher.cc b/cmds/statcatcher.cc index 184c725..64db2b6 100644 --- a/cmds/statcatcher.cc +++ b/cmds/statcatcher.cc
@@ -119,6 +119,8 @@ if (recvsize < 0) { perror("Failed to receive data on socket.\n"); exit(1); + } else { + fprintf(stderr, "received %d bytes\n", recvsize); } pkt.resize(recvsize);