diff options
author | Klement Sekera <ksekera@cisco.com> | 2020-06-24 13:13:46 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-18 19:47:21 +0000 |
commit | 4784b2a696acce9fb0713b7783048272812138b5 (patch) | |
tree | 5147ab10fbd22e874374524489981fc08bd9e28d /src/vlib/buffer.c | |
parent | bef1019aa30a93c4eb4ca7da48651c920609b23c (diff) |
nat: avoid division by zero
Return error instead of dividing by zero.
Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I9f6a942e87ab87e8f1921e744ec1add45884e74a
(cherry picked from commit fe77bdc1906cca6a76bd44b1aceffc971f64cec4)
Diffstat (limited to 'src/vlib/buffer.c')
0 files changed, 0 insertions, 0 deletions