summaryrefslogtreecommitdiffstats
path: root/src/openvpn/socket.h
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-03-25 13:27:02 +0200
committerDavid Sommerseth <davids@redhat.com>2012-03-30 23:19:11 +0200
commit5cfe3d4c1897785b32565dbb59c914fac62b0ed9 (patch)
treebeb4f8ad22fb75d46edb4c20cbea0870ca5f3952 /src/openvpn/socket.h
parent8e5613c2a8545a67cab2734569a8f088100d731b (diff)
downloadopenvpn-5cfe3d4c1897785b32565dbb59c914fac62b0ed9.tar.gz
openvpn-5cfe3d4c1897785b32565dbb59c914fac62b0ed9.tar.xz
openvpn-5cfe3d4c1897785b32565dbb59c914fac62b0ed9.zip
cleanup: flags should not be bool
Discussed at [1][2][3]. [1] https://bugs.gentoo.org/show_bug.cgi?id=297854#c2 [2] https://297854.bugs.gentoo.org/attachment.cgi?id=214304 [3] http://sourceforge.net/mailarchive/forum.php?thread_name=20120325111517.GI1359%40greenie.muc.de&forum_name=openvpn-devel Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Acked-by: Gert Doering <gert@greenie.muc.de> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/openvpn/socket.h')
-rw-r--r--src/openvpn/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openvpn/socket.h b/src/openvpn/socket.h
index 4a4f75d..ef21cb6 100644
--- a/src/openvpn/socket.h
+++ b/src/openvpn/socket.h
@@ -372,17 +372,17 @@ struct in6_addr add_in6_addr( struct in6_addr base, uint32_t add );
void setenv_sockaddr (struct env_set *es,
const char *name_prefix,
const struct openvpn_sockaddr *addr,
- const bool flags);
+ const unsigned int flags);
void setenv_in_addr_t (struct env_set *es,
const char *name_prefix,
in_addr_t addr,
- const bool flags);
+ const unsigned int flags);
void setenv_link_socket_actual (struct env_set *es,
const char *name_prefix,
const struct link_socket_actual *act,
- const bool flags);
+ const unsigned int flags);
void bad_address_length (int actual, int expected);