diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-01-18 09:44:36 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-02-02 12:04:30 +0000 |
commit | 402ed3128512efc091a560729ce1e772a86e9f74 (patch) | |
tree | f33301d7ce3d4766f720a034b5b394c5818dcf34 /src/vnet/dhcp | |
parent | ad623b1f71f0808916e513437246a0fb36174d5b (diff) |
BFD: improve finding of ipv4/ipv6 headers
Avoid coverity warning and improve safety by declaring a helper
structure and working with it when searching for ip headers.
Make sure the content following IPv6 header is actually UDP before
parsing it. Bail out if unexpcted IPv6 header found ...
Change-Id: I1c6b9fd42d6fdae226f12c91c53c07a932b29522
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/dhcp')
0 files changed, 0 insertions, 0 deletions