mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-20 11:38:59 +00:00
Add correct protocol when capturing with protocol handler
This commit is contained in:
parent
8253f8da38
commit
896ca927f3
@ -9,7 +9,7 @@ export class PacketCaptureService {
|
|||||||
|
|
||||||
startCapture(server: Server, project: Project, link: Link, name: string) {
|
startCapture(server: Server, project: Project, link: Link, name: string) {
|
||||||
location.assign(
|
location.assign(
|
||||||
`gns3+pcap://${server.host}:${server.port}?protocol=${server.protocol}&project_id=${project.project_id}&link_id=${link.link_id}&project=${project.name}&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}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user