Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/softflowd_test_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ def run_nfdump_capture(pcap_path: str, daemon_bin: str, version: int) -> str:
# A free port, not the default 2055: some distributions (Debian, Ubuntu)
# start their own nfcapd on 2055 when the nfdump package is installed.
with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as probe:
probe.bind(("0.0.0.0", 0))
probe.bind(("127.0.0.1", 0))
port = probe.getsockname()[1]
# Outside out_dir, which nfdump -R scans for capture files.
nfcapd_log = os.path.join(SUITE_TMP_DIR, f"nfcapd-{port}.log")
Expand Down
Loading