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:39:02 +0200 |
commit | a78183e1854ba1588fc6f3ee6ba83f4f3805865e (patch) | |
tree | 1586c664a4997aa06a59d02379ac81ac56f0d179 /python/vyos/configsession.py | |
parent | e8c6595fc477573887efcdb55ba6a286587b214b (diff) | |
download | vyos-1x-a78183e1854ba1588fc6f3ee6ba83f4f3805865e.tar.gz vyos-1x-a78183e1854ba1588fc6f3ee6ba83f4f3805865e.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.
(cherry picked from commit 672a70613aa6c987bca417f93b587eddccbfd53a)
Diffstat (limited to 'python/vyos/configsession.py')
0 files changed, 0 insertions, 0 deletions