Skip to content

Commit

Permalink
Merge pull request #45 from siemens/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
thediveo authored Feb 12, 2024
2 parents 7957f76 + 0d4b7e6 commit e9e5713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion webui/src/components/targetcapture/TargetCapture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ export const TargetCapture = ({ target, size = 'medium', className, demo }: Targ
|| (isPod(containee as Containee) && (containee as Pod).containers[0].turtleNamespace)
|| '',
}
const capturl = `packetflix:${baseURI.toString()}capture?container=${encodeURIComponent(JSON.stringify(targetDetails))}`
const capturl = `packetflix:${baseURI.toString()}capture`
+ `?container=${encodeURIComponent(JSON.stringify(targetDetails))}`
+ `&nif=${nifs.join("/")}`

return (
<SharkButton
Expand Down
3 changes: 0 additions & 3 deletions webui/src/models/packetflix/target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
//
// SPDX-License-Identifier: MIT

import { NetworkInterface } from "models/gw";


export type Target = NetnsTarget | NamedTarget

/**
Expand Down

0 comments on commit e9e5713

Please sign in to comment.