aboutgitcodebugslistschat
path: root/pcap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-03-15 01:00:52 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-03-25 13:21:13 +0100
commit5c0426981eb97dc9836d0c7b50f6c102b9359ed9 (patch)
tree628161e910a4892feae09ee9fa0eab39efeba106 /pcap.c
parentd2e40bb8d98763e33c3eeac4f5f1b7c53465009f (diff)
downloadpasst-5c0426981eb97dc9836d0c7b50f6c102b9359ed9.tar
passt-5c0426981eb97dc9836d0c7b50f6c102b9359ed9.tar.gz
passt-5c0426981eb97dc9836d0c7b50f6c102b9359ed9.tar.bz2
passt-5c0426981eb97dc9836d0c7b50f6c102b9359ed9.tar.lz
passt-5c0426981eb97dc9836d0c7b50f6c102b9359ed9.tar.xz
passt-5c0426981eb97dc9836d0c7b50f6c102b9359ed9.tar.zst
passt-5c0426981eb97dc9836d0c7b50f6c102b9359ed9.zip
pcap: Fix mistake in printed string
Packets are saved *to* a file, not *at* it. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pcap.c')
-rw-r--r--pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap.c b/pcap.c
index 9c617ce..a95a5ee 100644
--- a/pcap.c
+++ b/pcap.c
@@ -207,7 +207,7 @@ void pcap_init(struct ctx *c)
return;
}
- info("Saving packet capture at %s", c->pcap);
+ info("Saving packet capture to %s", c->pcap);
if (write(pcap_fd, &pcap_hdr, sizeof(pcap_hdr)) < 0)
warn("Cannot write PCAP header: %s", strerror(errno));