diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-04-19 17:14:19 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-08-08 20:39:16 +0200 |
commit | 76c0acb149a03e6d7945e0ee4f4c6355381b7391 (patch) | |
tree | 0cedaa79bcd83198abbf1bf069bcc4698dc2dd5c /tests/osmo-pcap-test/osmo_pcap.h | |
parent | 243a3b0372fe738b01c2d32d6f6cb7b7c99a1180 (diff) |
tests: osmo-pcap: Fix per packet timer
Before this commit, the gap time between 2 packets {n-1, n} was being
applied to {n, n+1}.
Change-Id: I715865c1edd1fc2ec9b024671d91eb72559cbdea
Diffstat (limited to 'tests/osmo-pcap-test/osmo_pcap.h')
-rw-r--r-- | tests/osmo-pcap-test/osmo_pcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/osmo-pcap-test/osmo_pcap.h b/tests/osmo-pcap-test/osmo_pcap.h index cff638b..171360d 100644 --- a/tests/osmo-pcap-test/osmo_pcap.h +++ b/tests/osmo-pcap-test/osmo_pcap.h @@ -12,6 +12,7 @@ struct osmo_pcap { pcap_t *h; struct osmo_timer_list timer; struct timeval last; + struct msgb *deliver_msg; }; pcap_t *osmo_pcap_test_open(const char *pcapfile); |