summary refs log tree commit diff
path: root/libnm-core/nm-setting-pppoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-core/nm-setting-pppoe.c')
-rw-r--r--libnm-core/nm-setting-pppoe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnm-core/nm-setting-pppoe.c b/libnm-core/nm-setting-pppoe.c
index b86adcc1..ef1d9ba1 100644
--- a/libnm-core/nm-setting-pppoe.c
+++ b/libnm-core/nm-setting-pppoe.c
@@ -1,10 +1,10 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 /*
  * Copyright (C) 2007 - 2013 Red Hat, Inc.
  * Copyright (C) 2007 - 2008 Novell, Inc.
  */
 
-#include "nm-default.h"
+#include "libnm-core/nm-default-libnm-core.h"
 
 #include "nm-setting-pppoe.h"
 
@@ -254,7 +254,7 @@ nm_setting_pppoe_init(NMSettingPppoe *setting)
 NMSetting *
 nm_setting_pppoe_new(void)
 {
-    return (NMSetting *) g_object_new(NM_TYPE_SETTING_PPPOE, NULL);
+    return g_object_new(NM_TYPE_SETTING_PPPOE, NULL);
 }
 
 static void