X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/c2a9094394193f1de9c968a1fc490e5a1f2a9a3d..00e5ed0bcd248178af28c5fc6c7e1bf87efd2bd4:/print-ospf.c diff --git a/print-ospf.c b/print-ospf.c index 959df23f..62827ec7 100644 --- a/print-ospf.c +++ b/print-ospf.c @@ -692,7 +692,7 @@ ospf_print_lsa(netdissect_options *ndo, ND_TCHECK_4(lsap->lsa_un.un_nla.nla_mask); ND_PRINT("\n\t Mask %s\n\t Connected Routers:", ipaddr_string(ndo, lsap->lsa_un.un_nla.nla_mask)); - ap = &lsap->lsa_un.un_nla.nla_router[0]; + ap = lsap->lsa_un.un_nla.nla_router; while ((const u_char *)ap < ls_end) { ND_TCHECK_SIZE(ap); ND_PRINT("\n\t %s", ipaddr_string(ndo, *ap));