]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-vrrp.c
Fix spaces
[tcpdump] / print-vrrp.c
index ae879647596da58bb287cb1eafae1e4c4485cca6..71f70f0cf1b62a90637ae4b2b959fe3065cc0d3f 100644 (file)
@@ -171,7 +171,7 @@ vrrp_print(netdissect_options *ndo,
                if (version == 2 && auth_type == VRRP_AUTH_SIMPLE) { /* simple text password */
                        ND_TCHECK_1(bp + 7);
                        ND_PRINT(" auth \"");
-                       if (fn_printn(ndo, bp, 8, ndo->ndo_snapend)) {
+                       if (nd_printn(ndo, bp, 8, ndo->ndo_snapend)) {
                                ND_PRINT("\"");
                                goto trunc;
                        }
@@ -180,5 +180,5 @@ vrrp_print(netdissect_options *ndo,
        }
        return;
 trunc:
-       ND_PRINT("[|vrrp]");
+       nd_print_trunc(ndo);
 }