]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-hsrp.c
Translate UDP/1700 as RADIUS
[tcpdump] / print-hsrp.c
index 35272b941115874ceb2179cc3214937df3ca4a21..b63f3190fcc11a141bd4f0c0839586839ae0311f 100644 (file)
@@ -33,9 +33,9 @@
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
-#include "interface.h"
+#include "netdissect.h"
 #include "addrtoname.h"
 
 /* HSRP op code types. */
@@ -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));