diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2014-09-14 22:04:57 +0100 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2014-09-14 22:04:57 +0100 |
commit | 911e749ddf4125c44c776124c8b4c214b8adddf8 (patch) | |
tree | 69a8ca206d4856b62e462001ac80e7067beba054 /.merge-branch-exclude | |
parent | f432c1da6a1218a8fe9901f15745e05d0a9e68f5 (diff) | |
download | vyatta-cfg-911e749ddf4125c44c776124c8b4c214b8adddf8.tar.gz vyatta-cfg-911e749ddf4125c44c776124c8b4c214b8adddf8.zip |
vyatta-cfg: display openvpn interface descriptions after they reset
When OpenVPN tunnels are taken down and recreated by the OpenVPN
process, any previously set descriptions on the interfaces are missing.
This is caused by the fact that the ifalias for that interface isn't
readded when the interface is recreated.
This patch updates the interface_description function so that it either
returns the current value of ifalias if it's set on the interface, or
uses the value set in the active config if it's present.
Bug #7 http://bugzilla.vyos.net/show_bug.cgi?id=7
Bug #313 http://bugzilla.vyos.net/show_bug.cgi?id=313
Diffstat (limited to '.merge-branch-exclude')
0 files changed, 0 insertions, 0 deletions