summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/input.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-20 07:38:59 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-20 07:38:59 +0200
commit672a70613aa6c987bca417f93b587eddccbfd53a (patch)
tree063b98db7d410d608b6b99be7721d91b86728a30 /python/vyos/ifconfig/input.py
parent62fc13d98013d46cf4cc37f4ac5c6f3c864290c2 (diff)
downloadvyos-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/input.py')
0 files changed, 0 insertions, 0 deletions