diff --git a/packet-rx.c b/packet-rx.c index 0ecbf5f594..bbab4768c0 100644 --- a/packet-rx.c +++ b/packet-rx.c @@ -4,7 +4,7 @@ * Based on routines from tcpdump patches by * Ken Hornstein * - * $Id: packet-rx.c,v 1.1 1999/10/20 16:41:19 gram Exp $ + * $Id: packet-rx.c,v 1.2 1999/10/22 03:55:17 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -153,13 +153,13 @@ dissect_rx(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) if (check_col(fd, COL_INFO)) col_add_fstr(fd, COL_INFO, "Type: %s " - "Seq: %d " - "Call: %d " + "Seq: %lu " + "Call: %lu " "Source Port: %s " "Destination Port: %s ", val_to_str(rxh->type, rx_types, "%d"), - ntohl(rxh->seq), - ntohl(rxh->callNumber), + (unsigned long)ntohl(rxh->seq), + (unsigned long)ntohl(rxh->callNumber), get_udp_port(pi.srcport), get_udp_port(pi.destport) );