Browse Source

BTap: make a string in options a non-const char pointer so we can allocate and free it

ambrop7 13 years ago
parent
commit
62ad4c0763
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tuntap/BTap.h

+ 1 - 1
tuntap/BTap.h

@@ -120,7 +120,7 @@ struct BTap_init_data {
     enum BTap_dev_type dev_type;
     enum BTap_init_type init_type;
     union {
-        const char *string;
+        char *string;
         struct {
             int fd;
             int mtu;