diff --git a/VERSION b/VERSION index ccfe09f..a851fdf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.272 +1.5.273 diff --git a/base/netcmp.c b/base/netcmp.c index 9772bfc..e01a065 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -6211,7 +6211,9 @@ PropertyMatch(struct Element *E1, struct Element *E2, if (kl1 != NULL) break; // Property is required } - else if (vl1->value.ival != 1) + else if ((vl1->type == PROP_INTEGER) && (vl1->value.ival != 1)) + break; // Property M != 1 or S != 1 is a mismatch. + else if ((vl1->type == PROP_DOUBLE) && (vl1->value.dval != 1)) break; // Property M != 1 or S != 1 is a mismatch. } if (vl1->type != PROP_ENDLIST) {