diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-11-08 01:05:19 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-11-08 01:05:19 +0000 |
commit | 1406db559be5030c7c4cb8ee2a424e61faafd130 (patch) | |
tree | e96c98e55be19ace939b6d94316f8aa1810046c7 /socket.h | |
parent | Fixed typo in tapdrvr.c -- the fix is functionally cosmetic (diff) | |
download | openvpn-1406db559be5030c7c4cb8ee2a424e61faafd130.tar.xz |
PROTO_TCPv4 is never used as an index into
proto_overhead, however this should be fixed.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1434 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'socket.h')
-rw-r--r-- | socket.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -454,11 +454,7 @@ int proto_remote (int proto, bool remote); #define IPv4_TCP_HEADER_SIZE 40 #define IPv6_UDP_HEADER_SIZE 40 -static const int proto_overhead[] = { /* indexed by PROTO_x */ - IPv4_UDP_HEADER_SIZE, - IPv4_TCP_HEADER_SIZE, - IPv4_TCP_HEADER_SIZE -}; +extern const int proto_overhead[]; static inline int datagram_overhead (int proto) |