dissectors: lldp: Highlight invalid frame marker
authorTobias Klauser <tklauser@distanz.ch>
Thu, 31 Jan 2013 14:36:30 +0000 (31 15:36 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 31 Jan 2013 14:36:30 +0000 (31 15:36 +0100)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_lldp.c

index ae36988..22b7684 100644 (file)
@@ -429,7 +429,8 @@ static void lldp(struct pkt_buff *pkt)
        return;
 
 out_invalid:
-       tprintf(" INVALID ]\n");
+       tprintf(" %sINVALID%s ]\n", colorize_start_full(black, red),
+               colorize_end());
 }
 
 static void lldp_less(struct pkt_buff *pkt)