diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-03-27 18:03:55 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-03-27 18:04:12 -0700 |
commit | 34ded09f84af771a539ba6fc427414c9f4edb270 (patch) | |
tree | 5b7461f06da9a36e826e2f3a00c6eb99f26f99bf /print-ip.c | |
parent | 088fa517bdc11e1b8d7b5d18d7d30a89c347633c (diff) | |
download | tcpdump-34ded09f84af771a539ba6fc427414c9f4edb270.tar.gz |
No need to print the source and destination IP addresses twice on the same line.
Diffstat (limited to 'print-ip.c')
-rw-r--r-- | print-ip.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -483,17 +483,9 @@ again: case IPPROTO_VRRP: if (ndo->ndo_packettype == PT_CARP) { - if (ndo->ndo_vflag) - ND_PRINT("carp %s > %s: ", - ipaddr_string(ndo, ipds->ip->ip_src), - ipaddr_string(ndo, ipds->ip->ip_dst)); carp_print(ndo, ipds->cp, ipds->len, GET_U_1(ipds->ip->ip_ttl)); } else { - if (ndo->ndo_vflag) - ND_PRINT("vrrp %s > %s: ", - ipaddr_string(ndo, ipds->ip->ip_src), - ipaddr_string(ndo, ipds->ip->ip_dst)); vrrp_print(ndo, ipds->cp, ipds->len, (const u_char *)ipds->ip, GET_U_1(ipds->ip->ip_ttl)); |