diff --git a/src/vlserver/cnvldb.c b/src/vlserver/cnvldb.c index 6fdc56fc42..f31d31cd8d 100644 --- a/src/vlserver/cnvldb.c +++ b/src/vlserver/cnvldb.c @@ -535,7 +535,7 @@ convert_mhentries(int oldfd, int newfd, struct vlheader_2 *header, basei = (addr >> 16) & 0xff; index = addr & 0xffff; - if ((basei >= VL_ADDREXTBLK_SIZE) || !base[basei]) { + if ((basei >= VL_MAX_ADDREXTBLKS) || !base[basei]) { fprintf(stderr, "Warning: mh entry %d has no IP address; ignored!!\n", i);