diff options
| author | hagbard-01 <39653662+hagbard-01@users.noreply.github.com> | 2019-09-13 09:05:53 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-13 09:05:53 -0700 | 
| commit | 213213a4c0078bf349cac51d20aca2a32d2f038f (patch) | |
| tree | 8ff5c9ba1f0858b5492d088ed68837ef4e9040d3 /src | |
| parent | 5d432809cb44c49c5164f06f8795e9f7ed87854f (diff) | |
| parent | fb1689e20ab9967a4c1e24279f5d4d736b256e83 (diff) | |
| download | vyos-1x-213213a4c0078bf349cac51d20aca2a32d2f038f.tar.gz vyos-1x-213213a4c0078bf349cac51d20aca2a32d2f038f.zip | |
Merge pull request #128 from DmitriyEshenko/patch-8
[bonding] T1660 Adding additional check. Some bonding mode don't supp…
Diffstat (limited to 'src')
| -rwxr-xr-x | src/conf_mode/interface-bonding.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/conf_mode/interface-bonding.py b/src/conf_mode/interface-bonding.py index dc0363fb7..447debe0f 100755 --- a/src/conf_mode/interface-bonding.py +++ b/src/conf_mode/interface-bonding.py @@ -355,7 +355,8 @@ def apply(bond):              b.del_port(intf)          # ARP link monitoring frequency -        b.arp_interval = bond['arp_mon_intvl'] +        if bond['mode'] not in ['802.3ad', 'balance-tlb', 'balance-alb']: +            b.arp_interval = bond['arp_mon_intvl']          # reset miimon on arp-montior deletion          if bond['arp_mon_intvl'] == 0:              # reset miimon to default | 
