diff options
author | Guy Harris <gharris@sonic.net> | 2024-03-27 18:35:32 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2024-03-27 18:35:46 -0700 |
commit | 0792dd93f4299e3c0c8bedb9627221633d834cd3 (patch) | |
tree | 96a6c437a26f1ef71d51bf045ca4faa13f7e3373 | |
parent | e1bcb7941d916285e5e502ff84dff5a15ec0b498 (diff) | |
download | tcpdump-0792dd93f4299e3c0c8bedb9627221633d834cd3.tar.gz |
AppleTalk: use nd_byte for AppleTalk addresses.
Make them arrays of nd_byte, rather than uint8_t; they're both unsigned
one-byte values, but nd_byte makes it clearer that they're not arrays of
4 one-byte unsigned integer values.
-rw-r--r-- | print-atalk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-atalk.c b/print-atalk.c index 56fece45..f2235089 100644 --- a/print-atalk.c +++ b/print-atalk.c @@ -126,9 +126,9 @@ struct aarp { nd_uint8_t halen, palen; nd_uint16_t op; nd_mac48 hsaddr; - uint8_t psaddr[4]; + nd_byte psaddr[4]; nd_mac48 hdaddr; - uint8_t pdaddr[4]; + nd_byte pdaddr[4]; }; static void atp_print(netdissect_options *, const struct atATP *, u_int); |