diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-18 11:52:52 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-18 13:56:40 +0100 |
commit | 577621026df8d4a33a34d4e125f9ec964fc0e53c (patch) | |
tree | a25ed4b22461cbb115c9e112935c28bcd57406bc /addrtoname.c | |
parent | 0e854b0937199956478686ae610ff9f794aafc6b (diff) | |
download | tcpdump-577621026df8d4a33a34d4e125f9ec964fc0e53c.tar.gz |
Rename EXTRACT_nBITS() macros to EXTRACT_BE_nBITS()
It indicates clearly that these macros are used to extract big-endian
integral values.
Diffstat (limited to 'addrtoname.c')
-rw-r--r-- | addrtoname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addrtoname.c b/addrtoname.c index 731439c3..b26047c4 100644 --- a/addrtoname.c +++ b/addrtoname.c @@ -539,7 +539,7 @@ etheraddr_string(netdissect_options *ndo, register const u_char *ep) } #endif cp = buf; - oui = EXTRACT_24BITS(ep); + oui = EXTRACT_BE_24BITS(ep); *cp++ = hex[*ep >> 4 ]; *cp++ = hex[*ep++ & 0xf]; for (i = 5; --i >= 0;) { |