diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-03-19 16:32:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-19 16:32:13 +0100 |
| commit | 7957857e6b5d6572d2c9831e0e66dac80e7a415e (patch) | |
| tree | 75c043c0f291c43a5159f5cac806f58298ac85fa /src | |
| parent | 3fb4a6f5b33a17848c086d7864d392900e8bb8e2 (diff) | |
| parent | 6c3280e47a5613f09f64a62991262e53c0f5fc25 (diff) | |
| download | vyos-1x-7957857e6b5d6572d2c9831e0e66dac80e7a415e.tar.gz vyos-1x-7957857e6b5d6572d2c9831e0e66dac80e7a415e.zip | |
Merge pull request #5063 from c-po/tshark-remove
op-mode: T8400: remove calls to tshark binary for PCAP files
Diffstat (limited to 'src')
| -rwxr-xr-x | src/op_mode/file.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/op_mode/file.py b/src/op_mode/file.py index a0efdb5cb..8420c5355 100755 --- a/src/op_mode/file.py +++ b/src/op_mode/file.py @@ -133,9 +133,6 @@ def print_file_data(path: str) -> None: with open(path, 'r') as f: for line in f: print(line, end='') - # tcpdump files go to TShark. - elif 'pcap' in file_type or os.path.splitext(path)[1] == '.pcap': - print(cmd(['sudo', 'tshark', '-r', path])) # All other binaries get hexdumped. else: print(cmd(['hexdump', '-C', path])) |
