diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2018-08-18 19:25:37 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-08-22 05:01:43 +0000 |
commit | bb25d64a2a240dcfd6469d5e389a996f7a4637d7 (patch) | |
tree | 42b97dd98ef6221e796e96dc53837a68a812c1d9 /tshark.c | |
parent | ca355b8905f2db0d2433698a68560b47b401e993 (diff) |
IP: Use pinfo for session IP addresses
The pinfo structure is sufficent for providing the src/dst address.
The pinfo address data is strictly the same as the tap data, even for
IP over IP.
Besides the trivial code simplification we prioritize the use of pinfo
over a tap, for increased type-safety and on the presumption of having
a more stable implementation (in the mutability sense).
Change-Id: Idcfc8c762f9af934e4612522b7472b35a01042ca
Reviewed-on: https://code.wireshark.org/review/29238
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tshark.c')
0 files changed, 0 insertions, 0 deletions