diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-31 14:33:40 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-01-31 16:43:50 +0100 |
commit | 0ee15606e2bd246fdffc40099c98b716dbe69578 (patch) | |
tree | 73ea27067efc69370ff358913b2c8a696ae22752 /print-tcp.c | |
parent | 5922b80797378d98e7033523c3d62de353a87357 (diff) | |
download | tcpdump-0ee15606e2bd246fdffc40099c98b716dbe69578.tar.gz |
Remove unneeded '&' when getting a pointer to a nd_ipv6 type
Diffstat (limited to 'print-tcp.c')
-rw-r--r-- | print-tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-tcp.c b/print-tcp.c index 6deb97b3..554f8a61 100644 --- a/print-tcp.c +++ b/print-tcp.c @@ -262,8 +262,8 @@ tcp_print(netdissect_options *ndo, struct tha6 tha; tcp_seq_hash = tcp_seq_hash6; - src = (const void *)&ip6->ip6_src; - dst = (const void *)&ip6->ip6_dst; + src = (const void *)ip6->ip6_src; + dst = (const void *)ip6->ip6_dst; if (sport > dport) rev = 1; else if (sport == dport) { |