]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-hsrp.c
Update .gitignore for other configurations
[tcpdump] / print-hsrp.c
index cc9655ca214292f8ef0f573edb288d9aff4964d6..138a8c05c7924a33b28e4431ce74d3976a8ed150 100644 (file)
@@ -126,8 +126,8 @@ hsrp_print(netdissect_options *ndo, const u_char *bp, u_int len)
                unsigned_relts_print(ndo, EXTRACT_U_1(hp->hsrp_holdtime));
                ND_PRINT(" priority=%u", EXTRACT_U_1(hp->hsrp_priority));
                ND_PRINT(" auth=\"");
-               if (fn_printn(ndo, hp->hsrp_authdata, sizeof(hp->hsrp_authdata),
-                   ndo->ndo_snapend)) {
+               if (nd_printn(ndo, hp->hsrp_authdata, sizeof(hp->hsrp_authdata),
+                             ndo->ndo_snapend)) {
                        ND_PRINT("\"");
                        goto trunc;
                }
@@ -135,5 +135,5 @@ hsrp_print(netdissect_options *ndo, const u_char *bp, u_int len)
        }
        return;
 trunc:
-       ND_PRINT("[|hsrp]");
+       nd_print_trunc(ndo);
 }