]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Handle encapsulated ethernet without a PW by defaulting to ethernet
authorJason Ish <jason.ish@emulex.com>
Sat, 19 Jul 2014 02:23:28 +0000 (20:23 -0600)
committerJason Ish <jason.ish@emulex.com>
Mon, 20 Oct 2014 21:15:05 +0000 (15:15 -0600)
if a fall back.

src/decode-mpls.c

index 2cee05837cdf003e90bbf9ac94287b74f355760b..e8edb25fad511a79d30af6e590db7f1c01560dce 100644 (file)
@@ -81,6 +81,8 @@ int DecodeMPLS(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, uint8_t *pkt,
             pq);
         break;
     default:
+        /* Attempt ethernet without PW. */
+        DecodeEthernet(tv, dtv, p, pkt, len, pq);
         break;
     }