Fix packet capture for links connected to a cloud node. Fixes #2513
Some checks failed
testing / build (ubuntu-latest, 3.10) (push) Has been cancelled
testing / build (ubuntu-latest, 3.11) (push) Has been cancelled
testing / build (ubuntu-latest, 3.12) (push) Has been cancelled
testing / build (ubuntu-latest, 3.13) (push) Has been cancelled
testing / build (ubuntu-latest, 3.9) (push) Has been cancelled

This commit is contained in:
grossmj 2025-03-16 21:12:33 +07:00
parent c9231d7b83
commit ee9f974362
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -232,7 +232,7 @@ async def stop_cloud_capture(
await node.stop_capture(port_number)
@router.get("/{node_id}/adapters/{adapter_number}/ports/{port_number}/pcap")
@router.get("/{node_id}/adapters/{adapter_number}/ports/{port_number}/capture/stream")
async def stream_pcap_file(
*,
adapter_number: int = Path(..., ge=0, le=0),