Replace VIF name pointer with array
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Fri, 18 May 2018 12:18:52 +0000 (14:18 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Fri, 18 May 2018 12:18:52 +0000 (14:18 +0200)
include/oonf/base/os_vif.h

index 64fe188..5d2cf1c 100644 (file)
@@ -80,7 +80,7 @@ enum vif_type
  */
 struct os_vif {
   /*! name of virtual interface */
-  const char *if_name;
+  char if_name[IF_NAMESIZE];
 
   /*! type of virtual interface */
   enum vif_type type;