#include "ospf.h"
-
static const struct tok ospf_option_values[] = {
{ OSPF_OPTION_MT, "MultiTopology" }, /* draft-ietf-ospf-mt-09 */
{ OSPF_OPTION_E, "External" },
{ 0, NULL}
};
-
static const struct tok lsa_opaque_ep_route_type_values[] = {
{ 0, "Unspecified" },
{ 1, "Intra-Area" },
{
u_int tlv_type, tlv_length;
-
while (ls_length != 0) {
ND_TCHECK_4(tptr);
if (ls_length < 4) {
count_srlg = subtlv_length / 4;
if (count_srlg != 0)
ND_PRINT("\n\t\t Shared risk group: ");
- while (count_srlg > 0) {
+ while (count_srlg != 0) {
ND_PRINT("%u", GET_BE_U_4(tptr));
tptr+=4;
count_srlg--;