diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-04-18 12:43:30 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-04-18 12:43:30 -0700 |
commit | 5c2fc51b165ff138acea0ee9589dbc17c99b20d0 (patch) | |
tree | 420d53155dfeb962c21e42b44e66ec5cc83d30ce /print-ap1394.c | |
parent | 9d146b98d7e828def2eda555a093c3dd24379b40 (diff) | |
download | tcpdump-5c2fc51b165ff138acea0ee9589dbc17c99b20d0.tar.gz |
Print src > dst, not dst > src.
The addresses were printed in the wrong order.
Diffstat (limited to 'print-ap1394.c')
-rw-r--r-- | print-ap1394.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-ap1394.c b/print-ap1394.c index 4f70faef..8adf94f4 100644 --- a/print-ap1394.c +++ b/print-ap1394.c @@ -56,8 +56,8 @@ ap1394_hdr_print(netdissect_options *ndo, register const u_char *bp, u_int lengt fp = (const struct firewire_header *)bp; ND_PRINT((ndo, "%s > %s", - linkaddr_string(ndo, fp->firewire_dhost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN), - linkaddr_string(ndo, fp->firewire_shost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN))); + linkaddr_string(ndo, fp->firewire_shost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN), + linkaddr_string(ndo, fp->firewire_dhost, LINKADDR_IEEE1394, FIREWIRE_EUI64_LEN))); firewire_type = EXTRACT_16BITS(&fp->firewire_type); if (!ndo->ndo_qflag) { |