diff options
Diffstat (limited to 'print-ospf.c')
-rw-r--r-- | print-ospf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-ospf.c b/print-ospf.c index 4490496468ea5..983c14f40e12d 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)); |