diff options
author | Brooks Swinnerton <bswinnerton@gmail.com> | 2018-11-07 20:53:07 -0500 |
---|---|---|
committer | Brooks Swinnerton <bswinnerton@gmail.com> | 2018-11-07 20:53:07 -0500 |
commit | 6da2d56d7d7d1235fd336a378addefdb98444c13 (patch) | |
tree | ca44d2c253d9c0fbac7af5d7808baeeab83f93cd /python/vyos | |
parent | 3d3432b84dc7f8a588a94a981da089093507b9f3 (diff) | |
download | vyos-1x-6da2d56d7d7d1235fd336a378addefdb98444c13.tar.gz vyos-1x-6da2d56d7d7d1235fd336a378addefdb98444c13.zip |
T979: Allow spaces in wireguard interface descrs
Previous to this commit, setting a Wireguard interface description would
result in a validation error similar to the following:
```
brooks@border# set interfaces wireguard wg0 description "Tunnel"
[edit]
brooks@border# set interfaces wireguard wg0 description "Tunnel tunnel
tunnel"
interface description is too long (limit 100 characters)
Value validation failed
Set failed
[edit]
```
This commit makes the regex less restrictive up to 100 characters.
Diffstat (limited to 'python/vyos')
0 files changed, 0 insertions, 0 deletions