diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-20 07:38:59 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-20 07:38:59 +0200 |
commit | 672a70613aa6c987bca417f93b587eddccbfd53a (patch) | |
tree | 063b98db7d410d608b6b99be7721d91b86728a30 /python/vyos/ifconfig/afi.py | |
parent | 62fc13d98013d46cf4cc37f4ac5c6f3c864290c2 (diff) | |
download | vyos-1x-672a70613aa6c987bca417f93b587eddccbfd53a.tar.gz vyos-1x-672a70613aa6c987bca417f93b587eddccbfd53a.zip |
vyos.ifconfig: T2738: can only read from a file when it exists
When IPv6 is disbaled on an interface also the sysfs files related to IPv6 for
this interface vanish. We need to check if the file exists before we read it.
Diffstat (limited to 'python/vyos/ifconfig/afi.py')
0 files changed, 0 insertions, 0 deletions