*** od.c	2001/04/11 17:45:00	1.1
--- od.c	2001/04/11 17:37:34
*************** print_s_short (long unsigned int n_bytes
*** 396,402 ****
        if (tmp > SHRT_MAX)
  	tmp -= SHRT_MAX - SHRT_MIN + 1;
        assert (tmp <= SHRT_MAX);
!       printf (fmt_string, tmp);
        block += sizeof (unsigned short);
      }
  }
--- 396,402 ----
        if (tmp > SHRT_MAX)
  	tmp -= SHRT_MAX - SHRT_MIN + 1;
        assert (tmp <= SHRT_MAX);
!       printf (fmt_string, ntohs(tmp));
        block += sizeof (unsigned short);
      }
  }
*************** print_short (long unsigned int n_bytes, 
*** 409,415 ****
    for (i = n_bytes / sizeof (unsigned short); i > 0; i--)
      {
        unsigned int tmp = *(const unsigned short *) block;
!       printf (fmt_string, tmp);
        block += sizeof (unsigned short);
      }
  }
--- 409,415 ----
    for (i = n_bytes / sizeof (unsigned short); i > 0; i--)
      {
        unsigned int tmp = *(const unsigned short *) block;
!       printf (fmt_string, ntohs(tmp));
        block += sizeof (unsigned short);
      }
  }
*************** print_int (long unsigned int n_bytes, co
*** 422,428 ****
    for (i = n_bytes / sizeof (unsigned int); i > 0; i--)
      {
        unsigned int tmp = *(const unsigned int *) block;
!       printf (fmt_string, tmp);
        block += sizeof (unsigned int);
      }
  }
--- 422,428 ----
    for (i = n_bytes / sizeof (unsigned int); i > 0; i--)
      {
        unsigned int tmp = *(const unsigned int *) block;
!       printf (fmt_string, ntohl(tmp));
        block += sizeof (unsigned int);
      }
  }
*************** print_long (long unsigned int n_bytes, c
*** 435,441 ****
    for (i = n_bytes / sizeof (unsigned long); i > 0; i--)
      {
        unsigned long tmp = *(const unsigned long *) block;
!       printf (fmt_string, tmp);
        block += sizeof (unsigned long);
      }
  }
--- 435,441 ----
    for (i = n_bytes / sizeof (unsigned long); i > 0; i--)
      {
        unsigned long tmp = *(const unsigned long *) block;
!       printf (fmt_string, ntohl(tmp));
        block += sizeof (unsigned long);
      }
  }
