fixd the bug ZSTAC-24558
fixd the bug ZSTAC-24558

fix bug ZSTAC-24558

fix-bug ZSTAC-24558

fix-bug ZSTAC-24558 --dont abuse math.Min()

fix-bug ZSTAC-24558

fix-bug ZSTAC-24558

fix-bug ZSTAC-24558

fix-bug ZSTAC-24558

zstackorg/zstack-vyos,zstackorg/zstack-vyos,zstackorg/zstack-vyos