diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-11-10 22:44:32 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-10 22:44:49 +0100 |
commit | 9e49477700647a390bebc18c02e6ce735d740e0c (patch) | |
tree | 64b75f36d06fe52fafa81ae0620e2f0967032f7a /python/vyos/ioctl.py | |
parent | a1611eb01dd117d9dce6571cb27bac94481fa753 (diff) | |
download | vyos-1x-9e49477700647a390bebc18c02e6ce735d740e0c.tar.gz vyos-1x-9e49477700647a390bebc18c02e6ce735d740e0c.zip |
ifconfig: T1793: add delta check on set_speed_duplex()
The speend and duplex settings should only be changed when they need to.
Always configuring this setting will make the kernel disable and re-enable the
physical interface. This will not only let the switchport flap but it will also
reset e.g. BGP sessions.
This is the first part of this fix for speed/duplex auto settings.
In addition - this also reduces the config commit time.
Diffstat (limited to 'python/vyos/ioctl.py')
0 files changed, 0 insertions, 0 deletions