-/* $OpenBSD: ospf.h,v 1.9 2007/06/14 03:23:49 reyk Exp $ */
+/* $OpenBSD: ospf.h,v 1.10 2010/08/04 16:47:01 sthen Exp $ */
/*
* Copyright (c) 1991, 1993, 1994, 1995, 1996, 1997
/* Database Description packet */
struct {
- u_char db_zero[2];
+ u_int16_t db_mtu;
u_char db_options;
u_char db_flags;
u_int32_t db_seq;
-/* $OpenBSD: print-ospf.c,v 1.14 2009/10/27 23:59:55 deraadt Exp $ */
+/* $OpenBSD: print-ospf.c,v 1.15 2010/08/04 16:47:01 sthen Exp $ */
/*
* Copyright (c) 1992, 1993, 1994, 1995, 1996, 1997
sep = '/';
}
TCHECK(op->ospf_db.db_seq);
- printf(" S %X", (u_int32_t)ntohl(op->ospf_db.db_seq));
+ printf(" mtu %u S %X", ntohs(op->ospf_db.db_mtu),
+ (u_int32_t)ntohl(op->ospf_db.db_seq));
if (vflag) {
/* Print all the LS adv's */