Commit eb0d7b9
committed
ping: Print data bytes
data bytes is in original ping, therefore it should be in JSON as well.
TODO: IPv4 has more info, but that requires ping_func_set_st *fset
pointer - obviously gather_statistics() is not a good place to print the
"header" data. Maybe move it to ping_print_packet(), which is used only
for non-json code (which is sign of wrong design)?
TODO: what would be proper names these "56 (84) data bytes"?
Signed-off-by: Petr Vorel <pvorel@suse.cz>1 parent 2b6268a commit eb0d7b9
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
837 | 848 | | |
838 | 849 | | |
839 | 850 | | |
| |||
0 commit comments