summaryrefslogtreecommitdiff
path: root/package/vtun/patches/patch-cfg_file_y
diff options
context:
space:
mode:
Diffstat (limited to 'package/vtun/patches/patch-cfg_file_y')
-rw-r--r--package/vtun/patches/patch-cfg_file_y11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/vtun/patches/patch-cfg_file_y b/package/vtun/patches/patch-cfg_file_y
new file mode 100644
index 000000000..cc36bf9b0
--- /dev/null
+++ b/package/vtun/patches/patch-cfg_file_y
@@ -0,0 +1,11 @@
+--- vtun-3.0.4.orig/cfg_file.y 2016-10-01 23:27:51.000000000 +0200
++++ vtun-3.0.4/cfg_file.y 2019-10-08 12:07:01.383933126 +0200
+@@ -610,7 +610,7 @@ int clear_nat_hack_client(void *d, void
+ }
+
+ /* Clear the VTUN_NAT_HACK flag which are not relevant to the current operation mode */
+-inline void clear_nat_hack_flags(int svr)
++extern inline void clear_nat_hack_flags(int svr)
+ {
+ if (svr)
+ llist_trav(&host_list,clear_nat_hack_server,NULL);