diff --git a/src/app/services/packet-capture.service.ts b/src/app/services/packet-capture.service.ts index 943d0310..0519c421 100644 --- a/src/app/services/packet-capture.service.ts +++ b/src/app/services/packet-capture.service.ts @@ -9,7 +9,7 @@ export class PacketCaptureService { startCapture(controller:Controller , project: Project, link: Link, name: string) { location.assign( - `gns3+pcap://${controller.host}:${controller.port}?project_id=${project.project_id}&link_id=${link.link_id}&name=${name}` + `gns3+pcap://${server.host}:${server.port}?protocol=${server.protocol.slice(0, -1)}&project_id=${project.project_id}&link_id=${link.link_id}&project=${project.name}&name=${name}` ); } }