diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-03-15 01:00:52 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-03-25 13:21:13 +0100 |
commit | 5c0426981eb97dc9836d0c7b50f6c102b9359ed9 (patch) | |
tree | 628161e910a4892feae09ee9fa0eab39efeba106 /pcap.c | |
parent | d2e40bb8d98763e33c3eeac4f5f1b7c53465009f (diff) | |
download | passt-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |