+ Outgoing, incoming. +
+ Outgoing, incoming. +
{{ hexdata }}
@@ -11,7 +11,7 @@
export default {
name: 'Packet',
- props: ['id', 'content', 'timestamp',],
+ props: ['id', 'content', 'timestamp', 'isIncoming',],
methods: {
hexdump(buffer, blockSize, lineNumberBase) {
blockSize = parseInt(blockSize, 10) || 16;
@@ -49,4 +49,12 @@ export default {
font-size: 100%;
color: black;
}
+ .packet {
+ background: #e1f5fe;
+ box-shadow: 0 0 5px 5px #e1f5fe;
+ }
+ .packet-incoming {
+ background: #fbe9e7;
+ box-shadow: 0 0 5px 5px #fbe9e7;
+ }
diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue
index c7098c6..236d22f 100644
--- a/src/components/Sidebar.vue
+++ b/src/components/Sidebar.vue
@@ -9,7 +9,8 @@
:proto="stream.protocol"
:servicePort="stream.service.port"
:foundPatterns="stream.foundPatterns"
- :time="stream.startTimestamp">
+ :startTime="stream.startTimestamp"
+ :endTime="stream.endTimestamp">