CLEANUP: connection: using internal struct to hold source and dest port.
authorDavid Carlier <devnexen@gmail.com>
Mon, 4 Jul 2016 21:51:33 +0000 (22:51 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Jul 2016 12:43:05 +0000 (14:43 +0200)
commit3015a2eebd1fa7e3509a7e5166ad1b5beada603f
treefb81547a35895c663713278fb48a7aab01d6d2b8
parent90fd35c3a726e613e36ea0399507778b094181a0
CLEANUP: connection: using internal struct to hold source and dest port.

Originally, tcphdr's source and dest from Linux were used to get the
source and port which led to a build issue on BSD oses.
To avoid side problems related to network then we just use an internal
struct as we need only those two fields.
include/types/connection.h
src/connection.c