From bb34c495ae80207af439123cc11a4d5e1852b1da Mon Sep 17 00:00:00 2001 From: Brandon Stepler Date: Tue, 27 Apr 2021 15:00:00 -0400 Subject: ecmp: T3502: fix check for "layer4-hashing" key (cherry picked from commit 44d4b6e663aa0df979b37299fbbc3b5b698c5379) --- src/conf_mode/system-ip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3