MINOR: protocols: always pass a "port" argument to the listener creation
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Sep 2017 05:44:44 +0000 (07:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Sep 2017 09:49:52 +0000 (11:49 +0200)
commit3228238c73e944d7e1efef5093d8bdb0de706dd0
tree263c97be966794c444b5a1ba364a9763f81205c2
parent20814ff1fcb7067d0d434cdbf00a34daeb22e193
MINOR: protocols: always pass a "port" argument to the listener creation

It's a shame that cfgparse() has to make special cases of each protocol
just to cast the port to the target address family. Let's pass the port
in argument to the function. The unix listener simply ignores it.
include/proto/proto_tcp.h
include/proto/proto_uxst.h
src/cfgparse.c
src/proto_tcp.c
src/proto_uxst.c