summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-09-04 14:54:42 -0700
committerhagbard <vyosdev@derith.de>2019-09-04 14:54:42 -0700
commit1bac4362d007135f91daffc4b0d51783658c10cf (patch)
treee236a4805f0729a56fc0f455f7528bdc68671928 /python
parent4778f7d2f771b09df1705cea5c7c00e798a7f776 (diff)
downloadvyos-1x-1bac4362d007135f91daffc4b0d51783658c10cf.tar.gz
vyos-1x-1bac4362d007135f91daffc4b0d51783658c10cf.zip
[wireguard] - T1628: line break in coment added
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py
index 30bfa5735..084339408 100644
--- a/python/vyos/ifconfig.py
+++ b/python/vyos/ifconfig.py
@@ -1280,10 +1280,12 @@ class WireGuardIf(Interface):
>>> from vyos.ifconfig import WireGuardIf as wg_if
>>> wg_intfc = wg_if("wg01")
>>> print (wg_intfc.wg_config)
- {'private-key': None, 'keepalive': 0, 'endpoint': None, 'port': 0, 'allowed-ips': [], 'pubkey': None, 'fwmark': 0, 'psk': '/dev/null'}
+ {'private-key': None, 'keepalive': 0, 'endpoint': None, 'port': 0,
+ 'allowed-ips': [], 'pubkey': None, 'fwmark': 0, 'psk': '/dev/null'}
>>> wg_intfc.wg_config['keepalive'] = 100
>>> print (wg_intfc.wg_config)
- {'private-key': None, 'keepalive': 100, 'endpoint': None, 'port': 0, 'allowed-ips': [], 'pubkey': None, 'fwmark': 0, 'psk': '/dev/null'}
+ {'private-key': None, 'keepalive': 100, 'endpoint': None, 'port': 0,
+ 'allowed-ips': [], 'pubkey': None, 'fwmark': 0, 'psk': '/dev/null'}
"""
def __init__(self, ifname):