X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b00042a8ae3656f01e022bf6df1eb761e6323d3d..e8b523758959c1854689d71c7a4686c631e5501c:/print-ospf.c diff --git a/print-ospf.c b/print-ospf.c index 44904964..983c14f4 100644 --- a/print-ospf.c +++ b/print-ospf.c @@ -982,7 +982,7 @@ ospf_decode_v2(register const struct ospfhdr *op, bittok2str(ospf_dd_flag_values,"none",op->ospf_db.db_flags)); TCHECK(op->ospf_db.db_ifmtu); if (op->ospf_db.db_ifmtu) { - printf(", MTU: %u", ntohs(op->ospf_db.db_ifmtu)); + printf(", MTU: %u", EXTRACT_16BITS(&op->ospf_db.db_ifmtu)); } TCHECK(op->ospf_db.db_seq); printf(", Sequence: 0x%08x", EXTRACT_32BITS(&op->ospf_db.db_seq));