diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-09-13 20:41:23 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-09-13 20:43:37 +0200 |
commit | 2e9ed5ad782fb632f3a0bb026cd3a566ab3862d4 (patch) | |
tree | d47460c0c68dc82e51c9c371dbf22e70db0aae93 /python/vyos/__init__.py | |
parent | 7d46fa6fc41b13bf9b3a9e3a305d9309079762f1 (diff) | |
download | vyos-1x-2e9ed5ad782fb632f3a0bb026cd3a566ab3862d4.tar.gz vyos-1x-2e9ed5ad782fb632f3a0bb026cd3a566ab3862d4.zip |
bonding: T1660: bugfix for triggered OS permission denied exception
Some bond modes do not support arp monitor interval and thus internally eset it
to 0 which means disabled. If you then write to the sysfs file in question an
OS exception (permission denied) is triggered.
arp_mon_intvl is initialized as 0 which means disabled so we only write it
when it is really requested by the user. There is a validator ensuring that
it can only be set in the bond modes which support it.
Diffstat (limited to 'python/vyos/__init__.py')
0 files changed, 0 insertions, 0 deletions