? ktrace.out Index: print-ip.c =================================================================== RCS file: /cvs/src/usr.sbin/tcpdump/print-ip.c,v retrieving revision 1.51 diff -u -p -r1.51 print-ip.c --- print-ip.c 22 Oct 2018 16:12:45 -0000 1.51 +++ print-ip.c 19 Sep 2019 12:03:56 -0000 @@ -472,6 +472,9 @@ ip_print(const u_char *bp, u_int length) #define IPPROTO_ESP 50 #endif case IPPROTO_ESP: + (void)printf("%s > %s: ", + ipaddr_string(&ip->ip_src), + ipaddr_string(&ip->ip_dst)); esp_print(cp, len, (const u_char *)ip); break; Index: print-ip6.c =================================================================== RCS file: /cvs/src/usr.sbin/tcpdump/print-ip6.c,v retrieving revision 1.28 diff -u -p -r1.28 print-ip6.c --- print-ip6.c 22 Oct 2018 16:12:45 -0000 1.28 +++ print-ip6.c 19 Sep 2019 12:03:56 -0000 @@ -117,7 +117,7 @@ ip6_print(const u_char *bp, u_int length #endif if (cp == (u_char *)(ip6 + 1) && nh != IPPROTO_TCP && nh != IPPROTO_UDP && - nh != IPPROTO_ESP && nh != IPPROTO_AH && + nh != IPPROTO_AH && (vflag || (nh != IPPROTO_IPV4 && nh != IPPROTO_IPV6))) { (void)printf("%s > %s: ", ip6addr_string(&ip6->ip6_src), ip6addr_string(&ip6->ip6_dst));