mirror of https://github.com/OISF/suricata
icmpv6: Fix Coverity warnings on ND_* types
This patch fixes: ** CID 1187544: Missing break in switch (MISSING_BREAK) /src/decode-icmpv6.c: 268 in DecodeICMPV6() ** CID 1187545: Missing break in switch (MISSING_BREAK) /src/decode-icmpv6.c: 270 in DecodeICMPV6() ** CID 1187546: Missing break in switch (MISSING_BREAK) /src/decode-icmpv6.c: 272 in DecodeICMPV6() ** CID 1187547: Missing break in switch (MISSING_BREAK) /src/decode-icmpv6.c: 274 in DecodeICMPV6() It duplicates the logic instead of adding 'fall through' statements as the debug statements were wrong and confusing. For ND_REDIRECT all 5 ND_* types would have been printed.pull/853/head
parent
e381af98dd
commit
9f2ce16ef3
Loading…
Reference in New Issue