summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Stepler <brandon@stepler.net>2021-04-27 15:00:00 -0400
committerChristian Poessinger <christian@poessinger.com>2021-04-27 21:49:16 +0200
commitbb34c495ae80207af439123cc11a4d5e1852b1da (patch)
tree65869eec0491bcbffe702cd0ef459fcac60dc754
parent64239f34960a6cb3825b3c3a564de5fd7f646390 (diff)
downloadvyos-1x-bb34c495ae80207af439123cc11a4d5e1852b1da.tar.gz
vyos-1x-bb34c495ae80207af439123cc11a4d5e1852b1da.zip
ecmp: T3502: fix check for "layer4-hashing" key
(cherry picked from commit 44d4b6e663aa0df979b37299fbbc3b5b698c5379)
-rwxr-xr-xsrc/conf_mode/system-ip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system-ip.py b/src/conf_mode/system-ip.py
index 190a0daca..32cb2f036 100755
--- a/src/conf_mode/system-ip.py
+++ b/src/conf_mode/system-ip.py
@@ -70,7 +70,7 @@ def apply(opt):
sysctl('net.ipv4.fib_multipath_use_neigh', tmp)
tmp = '0'
- if isinstance(dict_search('multipath.ignore_unreachable_nexthops', opt), dict):
+ if isinstance(dict_search('multipath.layer4_hashing', opt), dict):
tmp = '1'
sysctl('net.ipv4.fib_multipath_hash_policy', tmp)