CLEANUP: connection: merge proxy proto v2 header and address block
authorWilly Tarreau <w@1wt.eu>
Sat, 14 Jun 2014 06:28:06 +0000 (08:28 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Jun 2014 09:46:02 +0000 (11:46 +0200)
commit8fccfa256ebf496e4835bb61b54c4ef28ac90608
tree7aec8309f2c464953633224c64f6039ea918061b
parent7a6f134121a9271b2bb48c88d2037ea795bff6cb
CLEANUP: connection: merge proxy proto v2 header and address block

This is in order to simplify the PPv2 header parsing code to look more
like the one provided as an example in the spec. No code change was
performed beyond just merging the proxy_addr union into the proxy_hdr_v2
struct.
include/types/connection.h
src/connection.c