Skip to content

Commit

Permalink
webapp: fix pcap button for packet and payload
Browse files Browse the repository at this point in the history
A request for packet was returning payload and vice-versa.
  • Loading branch information
jasonish committed Feb 11, 2024
1 parent ed64903 commit 5b8705d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
match all requests that contain "dns" (case insensitive), but
exclude all those contain the subscript "et info":
https://github.com/jasonish/evebox/issues/275
- [webapp] Selecting the PCAP for payload was returning the packet,
and vice-versa. Now fixed.

## 0.17.2 - 2023-05-27

Expand Down
4 changes: 2 additions & 2 deletions webapp/src/EventView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ export function EventView() {
buffer={event()!._source.payload}
addOn={
<Button
onclick={() => eventToPcap("packet")}
onclick={() => eventToPcap("payload")}
style={PCAP_BUTTON_STYLE}
>
PCAP
Expand All @@ -864,7 +864,7 @@ export function EventView() {
buffer={event()!._source.packet}
addOn={
<Button
onclick={() => eventToPcap("payload")}
onclick={() => eventToPcap("packet")}
style={PCAP_BUTTON_STYLE}
>
PCAP
Expand Down

0 comments on commit 5b8705d

Please sign in to comment.