summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-07-15 11:00:01 +0200
committerThomas Haller <thaller@redhat.com>2019-07-27 21:24:27 +0200
commit1fc047958de3cc512cb76f7c021e84fd15dbb90b (patch)
tree67bf60081f3a3d246cd1ba26707d7d258d8260b3
parentf6d7af9ca6979ba28f63fe49c5bd8748acf8d4bf (diff)
downloadNetworkManager-1fc047958de3cc512cb76f7c021e84fd15dbb90b.tar.gz
device/wireguard: fix separating lines by semicolon in link_config()
-rw-r--r--src/devices/nm-device-wireguard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/nm-device-wireguard.c b/src/devices/nm-device-wireguard.c
index 228c8df08f..169775146c 100644
--- a/src/devices/nm-device-wireguard.c
+++ b/src/devices/nm-device-wireguard.c
@@ -1127,10 +1127,10 @@ link_config (NMDeviceWireGuard *self,
if (NM_IN_SET (config_mode, LINK_CONFIG_MODE_FULL,
LINK_CONFIG_MODE_REAPPLY)) {
- wg_lnk.listen_port = nm_setting_wireguard_get_listen_port (s_wg),
+ wg_lnk.listen_port = nm_setting_wireguard_get_listen_port (s_wg);
wg_change_flags |= NM_PLATFORM_WIREGUARD_CHANGE_FLAG_HAS_LISTEN_PORT;
- wg_lnk.fwmark = nm_setting_wireguard_get_fwmark (s_wg),
+ wg_lnk.fwmark = nm_setting_wireguard_get_fwmark (s_wg);
wg_change_flags |= NM_PLATFORM_WIREGUARD_CHANGE_FLAG_HAS_FWMARK;
if (nm_utils_base64secret_decode (nm_setting_wireguard_get_private_key (s_wg),