]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mobile.c
Fix warnings when building for 32-bit and defining _TIME_BITS=64
[tcpdump] / print-mobile.c
index 50bcd3eba82b325a33971dfbe887f83cbd7110ba..528da79c9f3e88734bdb7e1d05597ef7c963ec02 100644 (file)
@@ -88,12 +88,12 @@ mobile_print(netdissect_options *ndo, const u_char *bp, u_int length)
        if (osp)  {
                ND_PRINT("[S] ");
                if (ndo->ndo_vflag)
-                       ND_PRINT("%s ", ipaddr_string(ndo, mob->osrc));
+                       ND_PRINT("%s ", GET_IPADDR_STRING(mob->osrc));
        } else {
                ND_PRINT("[] ");
        }
        if (ndo->ndo_vflag) {
-               ND_PRINT("> %s ", ipaddr_string(ndo, mob->odst));
+               ND_PRINT("> %s ", GET_IPADDR_STRING(mob->odst));
                ND_PRINT("(oproto=%u)", proto>>8);
        }
        vec[0].ptr = (const uint8_t *)(const void *)mob;