Skip to content

Commit

Permalink
[minimega] fix bridge variable so deleting netflow capture works (#1516)
Browse files Browse the repository at this point in the history
When deleting a netflow capture, the bridge name was getting assigned to
the `<name>` variable but the code that deletes the capture was trying
to get the name of the bridge from the `<bridge>` variable.
  • Loading branch information
activeshadow authored Sep 11, 2023
1 parent a3d3c5b commit 4e36236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minimega/capture_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ minimega instance:
Patterns: []string{
"capture <netflow,> <bridge,> <bridge> <filename>",
"capture <netflow,> <bridge,> <bridge> <tcp,udp> <hostname:port>",
"capture <netflow,> <delete,> bridge <name>",
"capture <netflow,> <delete,> bridge <bridge>",
"capture <netflow,> <timeout,> [timeout in seconds]",
"capture <pcap,> bridge <bridge> <filename>",
"capture <pcap,> <delete,> bridge <bridge>",
Expand Down

0 comments on commit 4e36236

Please sign in to comment.