]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lisp.c
RADIUS: constify a couple static arrays
[tcpdump] / print-lisp.c
index 2b903623d8eaef39289d2c061eb3af304c87482c..0d9f67d2c57db123059253ba898c5dd8bc536ae8 100644 (file)
 #include "extract.h"
 #include "addrtoname.h"
 
-static const char tstr[] = " [|LISP]";
 
 #define IPv4_AFI                       1
 #define IPv6_AFI                       2
@@ -387,10 +386,10 @@ lisp_print(netdissect_options *ndo, const u_char *bp, u_int length)
        }
        return;
 trunc:
-       ND_PRINT("\n   %s", tstr);
+       nd_print_trunc(ndo);
        return;
 invalid:
-       ND_PRINT("\n   %s", istr);
+       ND_PRINT("%s", istr);
        return;
 }