]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mobility.c
Fixed some warnings, added print-zep.c to CMakeLists
[tcpdump] / print-mobility.c
index 138d2396b339db2df0ee55458e2ed1f4fa1c7615..6fd956281a5287609b15acf6a825933ee5688abf 100644 (file)
@@ -42,7 +42,6 @@
 
 #include "ip6.h"
 
-static const char tstr[] = "[|MOBILITY]";
 
 /* Mobility header */
 struct ip6_mobility {
@@ -340,6 +339,6 @@ mobility_print(netdissect_options *ndo,
        return(mhlen);
 
  trunc:
-       ND_PRINT("%s", tstr);
+       nd_print_trunc(ndo);
        return(-1);
 }