]> git.ozlabs.org Git - ppp.git/commitdiff
Fixing CLang warning with regards to GNU old-style designator in structure initializa...
authorEivind Næss <eivnaes@yahoo.com>
Mon, 20 Sep 2021 17:15:02 +0000 (10:15 -0700)
committerEivind Næss <eivnaes@yahoo.com>
Mon, 20 Sep 2021 17:15:02 +0000 (10:15 -0700)
Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
pppd/plugins/pppol2tp/pppol2tp.c

index 94b2f1f947896b35422bf49b8941ae3e85c6e840..3716091d403b2974f629cfc0639ca855369fef8d 100644 (file)
@@ -514,15 +514,15 @@ void plugin_init(void)
 }
 
 struct channel pppol2tp_channel = {
-    options: pppol2tp_options,
-    process_extra_options: NULL,
-    check_options: &pppol2tp_check_options,
-    connect: &connect_pppol2tp,
-    disconnect: &disconnect_pppol2tp,
-    establish_ppp: &generic_establish_ppp,
-    disestablish_ppp: &generic_disestablish_ppp,
-    send_config: &send_config_pppol2tp,
-    recv_config: &recv_config_pppol2tp,
-    close: NULL,
-    cleanup: NULL
+    .options = pppol2tp_options,
+    .process_extra_options = NULL,
+    .check_options = &pppol2tp_check_options,
+    .connect = &connect_pppol2tp,
+    .disconnect = &disconnect_pppol2tp,
+    .establish_ppp = &generic_establish_ppp,
+    .disestablish_ppp = &generic_disestablish_ppp,
+    .send_config = &send_config_pppol2tp,
+    .recv_config = &recv_config_pppol2tp,
+    .close = NULL,
+    .cleanup = NULL
 };