summaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-10-17 21:52:37 +0200
committerChristian Breunig <christian@breunig.cc>2026-10-17 21:52:37 +0200
commit938140bfe512e8464a5880ae5e7f5c93700765ec (patch)
tree170cbb43aae02b0de4f183584e0fed65c6e71840 /python/setup.py
parent385cafdcbb10e90c04462bc8e17fcf89e483382a (diff)
downloadvyos-1x-938140bfe512e8464a5880ae5e7f5c93700765ec.tar.gz
vyos-1x-938140bfe512e8464a5880ae5e7f5c93700765ec.zip
nat: T9475: load-balance weights are relative to their sum
The hash for load-balanced NAT rules was always taken modulo 100, while backend weights may add up to any value. With a sum below 100 some hash values had no backend in the map; commit only warned about it. The modulus is now the sum of all weights, so every hash value maps to a backend and weights act as relative shares. Rules whose weights add up to 100 render exactly as before, and the warning is dropped.
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions