Commit c094dea
Lukas Hutak
IPFIX output: fix integer division by zero when creating a file
If the window alignment was enabled but the window size was zero
(both are default values), the collector crashed due to division
by zero. This fix ignores the alignment if the windows size is zero.1 parent da91c49 commit c094dea
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments