summaryrefslogtreecommitdiff
path: root/src/conf_mode/host_name.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-13 20:41:23 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-13 20:43:37 +0200
commit2e9ed5ad782fb632f3a0bb026cd3a566ab3862d4 (patch)
treed47460c0c68dc82e51c9c371dbf22e70db0aae93 /src/conf_mode/host_name.py
parent7d46fa6fc41b13bf9b3a9e3a305d9309079762f1 (diff)
downloadvyos-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 'src/conf_mode/host_name.py')
0 files changed, 0 insertions, 0 deletions