diff options
author | Andrew Li <zhaoxili@cisco.com> | 2017-06-18 12:11:57 -0700 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-07-14 13:54:31 +0000 |
commit | 0f09b77778644577545235156a2ea2798ec9ee6c (patch) | |
tree | 826510eeb9ef489f36fcdfe90cb5855458c33097 /src/vppinfra/mem_mheap.c | |
parent | 3b12cdc59c8ec98b580b356f20b68e3554f91e97 (diff) |
flowprobe: Fixed assert error with less than 1 second passive timer
When passive timer has less than 1 second left, it'll be forcifully
changed to 0 when converting from f64 to u64. As a result the
assertion will fail at the beginning of the passive timer start
fuction. This commit fixed this bug by adding a check of the delta.
Change-Id: I899b6e0ab4967dcecc821daf7e812dbbc90969ce
Signed-off-by: Andrew Li <zhaoxili@cisco.com>
Diffstat (limited to 'src/vppinfra/mem_mheap.c')
0 files changed, 0 insertions, 0 deletions