summaryrefslogtreecommitdiff
path: root/ipproto.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-12-10 16:23:34 -0800
committerGuy Harris <guy@alum.mit.edu>2017-12-10 16:23:34 -0800
commit3f3f2505f2a02fcc471f7baba884959ccb2233c9 (patch)
tree7d3eaab1e2ead51f2b0ead6b42ee0e6e3c031ee8 /ipproto.c
parentfa2faabe6139e9d4b2596b3989318d965075a197 (diff)
downloadtcpdump-3f3f2505f2a02fcc471f7baba884959ccb2233c9.tar.gz
Make nd_uint8_t and nd_int8_t arrays, to catch direct references.
This catches direct references, so we can change them to use EXTRACT_U_1 or EXTRACT_S_1. Also, change some structures to use the nd_ types that weren't already using them. Then make the appropriate EXTRACT_{U,S}_1() changes.
Diffstat (limited to 'ipproto.c')
-rw-r--r--ipproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipproto.c b/ipproto.c
index 7e155ac0..86e9f114 100644
--- a/ipproto.c
+++ b/ipproto.c
@@ -355,7 +355,7 @@ static const char *netdb_protocol_names[256] = {
/* The function enforces the array index to be 8-bit. */
const char *
-netdb_protoname (const nd_uint8_t protoid)
+netdb_protoname (const uint8_t protoid)
{
return netdb_protocol_names[protoid];
}