MINOR: new update_server_addr_port() function to change both server's ADDR and servic...
authorBaptiste Assmann <bedis9@gmail.com>
Tue, 2 Aug 2016 06:18:55 +0000 (08:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 11 Sep 2016 06:13:11 +0000 (08:13 +0200)
commitd458adcc52b74608e2fe6a2a95f09ce5e94932b7
treefd50378a22048ee6d1c2bf1010dfd59a872a53f9
parent6b453f166fc340e3060cffb9a8118dce5e2e0df5
MINOR: new update_server_addr_port() function to change both server's ADDR and service PORT

This function can replace update_server_addr() where the need to change the
server's port as well as the IP address is required.
It performs some validation before performing each type of change.
include/proto/server.h
src/server.c