]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
drop "book ipv6" from open_tun() and tuncfg() prototypes
authorGert Doering <gert@greenie.muc.de>
Sun, 28 Feb 2010 22:04:04 +0000 (23:04 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 24 Apr 2011 15:22:40 +0000 (17:22 +0200)
tun.h

diff --git a/tun.h b/tun.h
index 40ce95911497d705f5c6625c7d3e4a2d1e0ee135..f28b8d81a22ccd7fca969eba099d9f47fb7c2503 100644 (file)
--- a/tun.h
+++ b/tun.h
@@ -202,7 +202,7 @@ tuntap_defined (const struct tuntap *tt)
 void clear_tuntap (struct tuntap *tuntap);
 
 void open_tun (const char *dev, const char *dev_type, const char *dev_node,
-              bool ipv6, struct tuntap *tt);
+              struct tuntap *tt);
 
 void close_tun (struct tuntap *tt);
 
@@ -211,7 +211,7 @@ int write_tun (struct tuntap* tt, uint8_t *buf, int len);
 int read_tun (struct tuntap* tt, uint8_t *buf, int len);
 
 void tuncfg (const char *dev, const char *dev_type, const char *dev_node,
-            bool ipv6, int persist_mode, const char *username,
+            int persist_mode, const char *username,
             const char *groupname, const struct tuntap_options *options);
 
 const char *guess_tuntap_dev (const char *dev,