summaryrefslogtreecommitdiff
path: root/print-hsrp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-04-26 17:24:42 -0700
committerGuy Harris <guy@alum.mit.edu>2015-04-26 17:24:42 -0700
commit69cb46af9119e8b5554bcc4bf1bf36f39cb82131 (patch)
treef75d78587057b773da075ffcd071e831f1e7beeb /print-hsrp.c
parent4ac279241d8b41959cdef7b2778035cb014bb10b (diff)
downloadtcpdump-69cb46af9119e8b5554bcc4bf1bf36f39cb82131.tar.gz
Fix a bunch of de-constifications.
Diffstat (limited to 'print-hsrp.c')
-rw-r--r--print-hsrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-hsrp.c b/print-hsrp.c
index 35272b94..6dc43de1 100644
--- a/print-hsrp.c
+++ b/print-hsrp.c
@@ -93,7 +93,7 @@ struct hsrp {
void
hsrp_print(netdissect_options *ndo, register const uint8_t *bp, register u_int len)
{
- struct hsrp *hp = (struct hsrp *) bp;
+ const struct hsrp *hp = (const struct hsrp *) bp;
ND_TCHECK(hp->hsrp_version);
ND_PRINT((ndo, "HSRPv%d", hp->hsrp_version));